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

Fix "nested subcircuit" warning #775

Merged
merged 3 commits into from
Jun 19, 2024
Merged

Fix "nested subcircuit" warning #775

merged 3 commits into from
Jun 19, 2024

Conversation

ra3xdh
Copy link
Owner

@ra3xdh ra3xdh commented Jun 19, 2024

This PR fixes nested subcircuit warning that comes from SpiceLibComp wrapped in subcircuit. This warning may cause convergence issue that are very hard to debug. This is part of #679.

The patch introduces Component::getSpiceLibrary and AbstractSpiceKernel::collectSpiceLibs. This function recursively collect the libraries from all subcircuits and places them in the start of the netlist.

@ra3xdh ra3xdh mentioned this pull request Jun 19, 2024
7 tasks
@ra3xdh ra3xdh merged commit d1120d7 into current Jun 19, 2024
7 checks passed
@ra3xdh ra3xdh linked an issue Jun 19, 2024 that may be closed by this pull request
7 tasks
@ra3xdh ra3xdh deleted the 679_fix_nested_subcir branch June 19, 2024 17:15
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

Successfully merging this pull request may close these issues.

Improve SpiceLibComp device
1 participant