Skip to content

Spice reader: .global should not add pin if the signal isn't used in a subcircuit #565

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

Closed
klayoutmatthias opened this issue May 24, 2020 · 0 comments
Assignees
Labels

Comments

@klayoutmatthias
Copy link
Collaborator

Example:

.global VDD VDDA VSS

.subckt inv A Z
MN N0 A VSS VSS NMOS W=1u L=1u
MP N0 A VDD VDD PMOS W=2u L=1u
.ends inv

In this case, VDDA should not be made a pin for the inv subcircuit.

@klayoutmatthias klayoutmatthias self-assigned this May 24, 2020
klayoutmatthias added a commit that referenced this issue May 26, 2020
…567)

* Fixed #565 (SPICE global nets must not produce pins if not present)

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

No branches or pull requests

1 participant