blob: 6139d2bd11574bed08c8df4bcaf718a7dc1adc98 [file] [log] [blame]
.temp 30
simulator lang=spectre
* Ron calc = Vd/Id * area = 0.5/Id * 0.3012 = 0.1506
* Since the analysis assumes Vd=0.1, m=0.1/0.1506
m0 d g s b n20nativevhv1 m=2*0.1/0.1506
simulator lang=spice
vntub nt 0 DC 0
vsub sub 0 DC 0
vd d nd DC 0.5
vnd 0 nd DC 0
vg g ng DC 0
vng 0 ng DC 0
vs s ns DC 0
vns 0 ns DC 0
vb b nb DC 0
vnb 0 nb DC 0
.DC vg 5 5 0
simulator lang=spectre
save vnd:p
simulator lang=spice