Mail Archives: geda-user/2018/03/21/17:01:55
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
--8323329-170908132-1521666000=:1501
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8BIT
On Wed, 21 Mar 2018, karl AT aspodata DOT se wrote:
> It behaves a litte dissimilar since it doesn't like a tree with
> duplicate names in it (even though I don't use thoose symbols):
>
> […]
>
> ValueError: Duplicate symbol name while scanning library [gnd-1.sym]: user
The standard library is not meant to be included recursively: it contains
several directories (gnetman/, verilog/, vhdl/) with symbols whose names
conflict with symbols in other directories. If these directories were to
be included, the symbol names would be ambiguous.
In the default configuration, the library subdirectories are included
individually (see symbols/geda-clib.scm). To replicate this behavior on
the command line, you need to specify a --symbol-library= option for each
subdirectory.
This is, of course, not optimal. I think it would be best to move the
symbol directories which are by default not included to another directory
(maybe symbols-opt?) so the standard library can be included recursively.
Any opinions?
--8323329-170908132-1521666000=:1501--
- Raw text -