<@U039ST4BD9U> `.options savecurrents` before the ...
# xschem
s
@Belal Ali
.options savecurrents
before the .tran or .dc line
b
but for gm and caps ? another question i want to store the op params like gm and caps as an output from a dc sweep, because this write command only out the node voltages and currents. @Stefan Schippers
s
@Belal Ali gm, vth, capacitances and other stuff must be saved explicitly with a save / .save command.
b
@Stefan Schippers ok, after saving, how to out them in the dc sweep result ? printing the value of gm with Vgs sweep
s
you can do a .print "@m.........[gm]"
b
print only prints the op of the device, not the sweep
It works Thanks! , first i should save, sweep then print to get the swept output, but why ngspice doesn't accept the end of the sweep to be a variable like this ?, it give an error:
s
@Belal Ali This is a limitation of ngspice.
👍 1