Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Radvall
Copy link
Contributor

@Radvall Radvall commented Dec 14, 2024

Adds the .CSPARAM section as described in the Ngspice User’s Manual on page 66. It allows parameters from the .PARAM section to be used in the .control section. The blue color was chosen to represent this functionality. The .CSPARAM component is based on .PARAM.

Example:
In this circuit, the double_temp vector is created by multiplying the TEMP parameter (from .PARAM) by two. The double_temp vector is then used in a Nutmeg equation. The results of the calculation are displayed in the table and the simulation log

fig

@ra3xdh ra3xdh added this to the 25.1.0 milestone Dec 14, 2024
@ra3xdh
Copy link
Owner

ra3xdh commented Dec 16, 2024

Thanks for a new virtual device! I didn't know that Ngspice team has introduced the .CSPARAM.

@ra3xdh ra3xdh merged commit 48c4248 into ra3xdh:current Dec 16, 2024
8 checks passed
@Radvall Radvall deleted the add_csparam branch December 16, 2024 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants