In both SIMetrix and SIMPLIS mode, the GlobalVar() function allows you change parameter values. When you place a GlobalVar() function in a testplan, the variable statement is automatically written to the simulator command (F11) window.
In this topic:
GLOBALVAR(variable_name, value)
The Var(), GlobalVar(), Change() and Temp() functions behave differently depending on whether they are used inline or in a header row.
For example, the following testplan with a header row performs the actions listed below:
1 | *?@ Var(MAX_Q,1n) | GlobalVar(VIN,12) | Change(U1.U3.GAIN,1) |
2 | 2n | ||
3 | 5.0 | ||
4 | 0.5 |