how to check vdsat margin in ngspice ...any comman...
# sky130
p
how to check vdsat margin in ngspice ...any command ? please tell
m
Sorry, I don’t have much experience with spice simulation.
l
Here is an example of the ngspice code that I use.
let m1_vds = @m.x1.xm1.msky130_fd_pr__pfet_01v8[vds]_ let m1_von = @m.x1.xm1.msky130_fd_pr__pfet__01v8[vgs] - @m.x1.xm1.msk130_fd_pr__pfet__01v8[vth] print m1_vds - m1_von