ALOK PRATAP SINGH
08/24/2023, 12:14 PM@m.xm1.msky130_fd_pr__pfet_01v8_lvt[Ids]
but getting error. What should I need to do now?Christoph Weiser
08/24/2023, 1:03 PMStefan Schippers
08/24/2023, 2:48 PM.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])