After the `end` instruction of the while loop: `alterparam W = $&start_w` `reset` the `reset` in...
s
After the
end
instruction of the while loop:
alterparam W = $&start_w
reset
the
reset
instruction is needed to "apply the changes" to the netlist.
j
Can I directly change the value of w? Or should I do it with an assignment?
Another question, because sometimes I make changes to the netlist, but I have to delete the .raw files to see the changes in simulation, even though sometimes when I use appendwrite I write unset appendwrite or it also happens when not even if want to use appendwrite
s
what do you mean by 'directly change W'? You mean changing from the ngspice command prompt? on the command prompt you can use the exact commands you are using inside a .control // .endc block. you
alterparam W=something
, then execute a
reset
and then run a simulation command.
For the raw file to be deleted to see updated simulation, can you prepare a minimal test case? the smallest test that shows the problem? I will try and see whan is going on... :-)