renguo
Newbie level 6
hello,
I'm simulating a wilson current mirror and would like to plot the output impedance of the circuit. In theory, it should be as easy as Vout/Iout but I just don't have any idea how to implement it. I know it's possible because I've seen the work of my senior but I can't ask him now. Here's his plot:
Here's my netlist:
I'm simulating a wilson current mirror and would like to plot the output impedance of the circuit. In theory, it should be as easy as Vout/Iout but I just don't have any idea how to implement it. I know it's possible because I've seen the work of my senior but I can't ask him now. Here's his plot:
Here's my netlist:
Code:
m1 vd1 vg1 gnd gnd nch w=5u l=2u
m2 vg1 vg1 gnd gnd nch w=5u l=2u
m3 vd3 vd1 vg1 gnd nch w=20u l=2u
**********************************************
vdd vdd gnd 3.3
iref vdd vd1 100uA
r1 vdd vd3 3k
**********************************************
.plot dc gm=lx7(m3)
.dc vdd 0 3.3 0.1
.print i(m3)
.end
Attachments
Last edited: