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
Christoph Weiser
08/24/2023, 1:03 PM
I think the correct statement is: @m.xm1.msky130_fd_pr__pfet_01v8_lvt[id]
s
Stefan Schippers
08/24/2023, 2:48 PM
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:
Linen is a search-engine friendly community platform. We offer integrations with existing Slack/Discord communities and make those conversations Google-searchable.