1*****Single NMOS and PMOS Transistor For BSIM3 threshold voltage check (Id-Vgs) (Id-Vds) *** 2 3M1 2 1 3 4 n1 W=1u L=0.35u Pd=1.5u Ps=1.5u ad=1.5p as=1.5p 4vgs 1 0 3.5 5vds 2 0 0.1 6vss 3 0 0 7vbs 4 0 0 8 9M2 22 11 33 44 p1 W=2.5u L=0.35u Pd=3u Ps=3u ad=2.5p as=2.5p 10vgsp 11 0 -3.5 11vdsp 22 0 -0.1 12vssp 33 0 0 13vbsp 44 0 0 14 15.options Temp=27.0 16 17* BSIM3v3.3.0 model with modified default parameters 0.18�m 18.model n1 nmos level=49 version=3.3.0 tox=3.5n nch=2.4e17 nsub=5e16 vth0=0.15 19.model p1 pmos level=49 version=3.3.0 tox=3.5n nch=2.5e17 nsub=5e16 vth0=-0.15 20 21*.include ./Modelcards/modelcard.nmos $ Berkeley model cards limited to L >= 0.35�m 22*.include ./Modelcards/modelcard.pmos $ Berkeley model cards limited to L >= 0.35�m 23 24* update of the default parameters required 25*.model n1 NMOS level=49 version=3.3.0 $ nearly no current due to VT > 2 V ? 26*.model p1 PMOS level=49 version=3.3.0 27 28.control 29* various plot font sizes 30dc vgs 0 1.5 0.05 vbs 0 -2.5 -0.5 31plot vss#branch ylabel 'output current' 32set wfont_size=18 33dc vds 0 2 0.05 vgs 0 2 0.4 34plot vss#branch ylabel 'output current' 35set wfont_size=20 36dc vgsp 0 -1.5 -0.05 vbsp 0 2.5 0.5 37plot vssp#branch ylabel 'output current' 38set wfont=Times 39set wfont_size=18 40dc vdsp 0 -2 -0.05 vgsp 0 -2 -0.4 41plot vssp#branch ylabel 'output current' 42.endc 43 44.end 45 46 47 48 49 50