aishrastogi
Newbie level 4
*
*
.option post
.model NMOS NMOS Level=1 L=1u W=1u
+ Vto=0.9 Kp=3.0E-5 Gamma=0.35
+ Phi=0.65 Lambda=0.032 Tox=0.1u
+ Nsub=1.0E+15 Nss=1.0E+10 Ld=0.8u
+ Tpg=1.00 Uo=350 Af=1.2
+ Kf=1.0E-26 Is=1.0E-15 Js=1.0E-8
+ Pb=0.75 Cj=2.0E-4 Mj=0.5
+ Cjsw=1.00E-9 Mjsw=0.33 Fc=0.5
+ Cgbo=2.0E-10 Cgdo=4.00E-11 Cgso=4.00E-11
+ Rd=10.0 Rs=10.0 Rsh=30.0
R1 Vdd gate 37.3k
Vss Vdd gnd DC 5v
Vgs gate gnd DC 1.27v
vds2 drain2 gnd
M1 gate gate gnd gnd NMOS
M2 drain2 gate gnd gnd NMOS
.DC vds2 0 3 0.1
.end
could ne one tell me wats wrong with this code...i m trying to mirror a 100uA current but the mirrored current is only coming out to be 2.5uA...plzz help
*
.option post
.model NMOS NMOS Level=1 L=1u W=1u
+ Vto=0.9 Kp=3.0E-5 Gamma=0.35
+ Phi=0.65 Lambda=0.032 Tox=0.1u
+ Nsub=1.0E+15 Nss=1.0E+10 Ld=0.8u
+ Tpg=1.00 Uo=350 Af=1.2
+ Kf=1.0E-26 Is=1.0E-15 Js=1.0E-8
+ Pb=0.75 Cj=2.0E-4 Mj=0.5
+ Cjsw=1.00E-9 Mjsw=0.33 Fc=0.5
+ Cgbo=2.0E-10 Cgdo=4.00E-11 Cgso=4.00E-11
+ Rd=10.0 Rs=10.0 Rsh=30.0
R1 Vdd gate 37.3k
Vss Vdd gnd DC 5v
Vgs gate gnd DC 1.27v
vds2 drain2 gnd
M1 gate gate gnd gnd NMOS
M2 drain2 gate gnd gnd NMOS
.DC vds2 0 3 0.1
.end
could ne one tell me wats wrong with this code...i m trying to mirror a 100uA current but the mirrored current is only coming out to be 2.5uA...plzz help