www.pudn.com > hspice_lab.rar > lab6e.spx


lab6e   -  MOS iv sweep vds to 5v, vgs=0, vgs=1,2,3,4,5 
.option post list node 
.param length=0.65u width=2u 
.temp 25 
.dc vds 0 5 .1 vgs 0 5 1 
.model nch nmos level=28 
.probe v(vds) i(m1)  $ this is the same as i1(m1) - the drain current 
m1 vd vg 0 vb nch l=length w=width 
vds vd 0 
vgs vg 0 
vbs vb 0 0v 
.end