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

Spice File with parameter passing format #1202

Closed
tomhajjar opened this issue Jan 9, 2025 · 2 comments · Fixed by #1203
Closed

Spice File with parameter passing format #1202

tomhajjar opened this issue Jan 9, 2025 · 2 comments · Fixed by #1203
Labels

Comments

@tomhajjar
Copy link

tomhajjar commented Jan 9, 2025

Hopefully this isn't too convoluted. This issue is more of an annoyance but it might trip up new Users.

When making subcircuits using "Spice netlist", "parameters" can show up in the "Spice net nodes:" Window depending if "params:" is used instead of ".param". This happens for every PSpice digital device which use "params:" and every device with a lot of parameters.

For devices with a lot of "parameters" like "x_VCO.cir" the "Spice net nodes:" Window is flooded with entries. I then made "x_VCO_alt.cir" which requires more effort, is prone to error and makes copy-pasting the 2 array's data into the parameters fields harder.

For a future release can "params:" be made not to fill the "Spice net nodes:" Window?

Putting all parameters on the .subckt line can work but the line is crazy long and "+" doesn't work to move them to the next line.

2025-01-09_173236
2025-01-09_173441
2025-01-08_161138
2025-01-09_173703

Parameters Issue.zip

@ra3xdh ra3xdh linked a pull request Jan 10, 2025 that will close this issue
@ra3xdh ra3xdh added the bug label Jan 10, 2025
@ra3xdh
Copy link
Owner

ra3xdh commented Jan 10, 2025

Fixed by #1203

@tomhajjar
Copy link
Author

I missed "optional:".

Seems to only be used in PSpice digital libraries. I searched all of them.

2025-01-10_104051
2025-01-10_104328

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

Successfully merging a pull request may close this issue.

2 participants