Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netlist cannot handle the same component name from 2 different libs #604

Open
guitorri opened this issue Nov 19, 2016 · 0 comments
Open

Comments

@guitorri
Copy link
Member

See #594 for context.

Components from system and user libraries are placed as follows in the schematic.

User lib

<Qucs Schematic 0.0.19>
<Components>
  <Lib T 1 0 0 8 -26 0 0 "/Users/guitorri/qucs_area/_demo/user_lib/NMOSFETs" 0 "2N7000" 0>
</Components>

System lib

<Qucs Schematic 0.0.19>
<Components>
  <Lib T 1 0 0 8 -26 0 0 "NMOSFETs" 0 "2N7000" 0>
</Components>

These two components will be netlisted twice with the same subcirtcuit name:

.Def:NMOSFETs_2N7000 _net4 _net3 _net5
...
.Def:NMOSFETs_2N7000 _net4 _net3 _net5
...

Which is rejected by qucsator:
checker error, found 2 definitions of 'Def:NMOSFETs_2N7000'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant