In Xschem, How do I check Mosfet current Ids? I checked with `@m.xm1.msky130_fd_pr__pfet_01v8_l...
a
In Xschem, How do I check Mosfet current Ids? I checked with
@m.xm1.msky130_fd_pr__pfet_01v8_lvt[Ids]
but getting error. What should I need to do now?
c
I think the correct statement is: @m.xm1.msky130_fd_pr__pfet_01v8_lvt[id]
s
If you do a
.option savecurrents
before the
.control
section (or before the
.dc
or
.tran
statements) all device currents are saved. You can browse them with xschem by adding a graph (
Simulation -> Add waveform graph
) and loading in the raw file (
Simulation-> Load/Unload spice .raw file
). This works if a raw file has been written with the ngspice write instruction. If you simulate
circuit1.sch
the raw file shoukld be created with
write circuit1.raw
. After loading the raw file double clicking inside the graph brings up a dialog box listing all saved variables including currents... the correct Id node name is:
i(@m.xm1.msky130_fd_pr__pfet_01v8_lvt[id])
🌍 1