CMOS Inverter
vdd 3 0 5
vin 1 0 pulse (0 5 0ns 2ns 2ns 10ns 20ns)
m1 0 1 2 0 vti_nm1_du1 l=2u w=2u ad=4p as=4p
m2 2 1 3 3 vti_pm1_du1 l=2u w=4u ad=8p as=8p
*
* SPICE BSIM Model for MOSIS 2um
*
.model vti_du2 r rsh = 107.6 defw = 0 narrow = 0
.model vti_du2 c cj = 0.000287 cjsw = 3.37e-10 defw = 0 narrow = 0
.model vti_du1 r rsh = 25.46 defw = 0 narrow = 0
.model vti_du1 c cj = 0.0001291 cjsw = 7.226e-10 defw = 0 narrow = 0
.model vti_ml2 r rsh = 0.046 defw = 0 narrow = 0
.model vti_ml2 c cj = 0 cjsw = 0 defw = 0 narrow = 0
.model vti_ml1 r rsh = .1091 defw = 0 narrow = 0
.model vti_ml1 c cj = 0 cjsw = 0 defw = 0 narrow = 0
.model vti_pm1_du2 pmos level=4
+ vfb = -.47458 lvfb = 0.0323537 wvfb = .103314
+ phi = .6833 lphi = 0 wphi = 0
+ k1 = .638503 lk1 = -0.04637 wk1 = -0.051993
+ k2 = 0.0189273 lk2 = 0.0525611 wk2 = -0.050009
+ eta = -0.011975 leta = 0.041788 weta = -0.0044076
+ muz = 222.335 dl = .478341 dw = -.29623
+ u0 = .114924 lu0 = 0.062861 wu0 = -.10126
+ u1 = 0.019858 lu1 = .247421 wu1 = -0.0050555
+ x2mz = 9.22734 lx2mz = -4.8288 wx2mz = 6.665
+ x2e = -0.0015255 lx2e = -0.0024394 wx2e = -0.0015679
+ x3e = 0.000750836 lx3e = -0.0025847 wx3e = 0.00364504
+ x2u0 = 0.00487183 lx2u0 = -0.0015847 wx2u0 = 2.02175e-05
+ x2u1 = 0.00200802 lx2u1 = 0.00383148 wx2u1 = 0.00992587
+ mus = 240.287 lmus = 100.62 wmus = 113.386
+ x2ms = 8.05444 lx2ms = 1.92705 wx2ms = 15.0036
+ x3ms = -.54106 lx3ms = 11.8733 wx3ms = -3.6684
+ x3u1 = -0.01682 lx3u1 = 0.00033133 wx3u1 = 0.00948023
+ tox = 0.0413 temp = 27 vdd = 5
+ cgdo = 2.9996e-10 cgso = 2.9996e-10 cgbo = 5.84095e-10
+ xpart = 1 
+ n0 = 1 ln0 = 0 wn0 = 0
+ nb = 0 lnb = 0 wnb = 0
+ nd = 0 lnd = 0 wnd = 0
+ rsh = 107.6 cj = 0.000287 cjsw = 3.37e-10
+ js = 1e-08 pb = .8 pbsw = .8
+ mj = .6345 mjsw = .3459 wdf = 0
+ dell = 0
.model vti_pm1_du1 pmos level=4
+ vfb = -.47458 lvfb = 0.0323537 wvfb = .103314
+ phi = .6833 lphi = 0 wphi = 0
+ k1 = .638503 lk1 = -0.04637 wk1 = -0.051993
+ k2 = 0.0189273 lk2 = 0.0525611 wk2 = -0.050009
+ eta = -0.011975 leta = 0.041788 weta = -0.0044076
+ muz = 222.335 dl = .478341 dw = -.29623
+ u0 = .114924 lu0 = 0.062861 wu0 = -.10126
+ u1 = 0.019858 lu1 = .247421 wu1 = -0.0050555
+ x2mz = 9.22734 lx2mz = -4.8288 wx2mz = 6.665
+ x2e = -0.0015255 lx2e = -0.0024394 wx2e = -0.0015679
+ x3e = 0.000750836 lx3e = -0.0025847 wx3e = 0.00364504
+ x2u0 = 0.00487183 lx2u0 = -0.0015847 wx2u0 = 2.02175e-05
+ x2u1 = 0.00200802 lx2u1 = 0.00383148 wx2u1 = 0.00992587
+ mus = 240.287 lmus = 100.62 wmus = 113.386
+ x2ms = 8.05444 lx2ms = 1.92705 wx2ms = 15.0036
+ x3ms = -.54106 lx3ms = 11.8733 wx3ms = -3.6684
+ x3u1 = -0.01682 lx3u1 = 0.00033133 wx3u1 = 0.00948023
+ tox = 0.0413 temp = 27 vdd = 5
+ cgdo = 2.9996e-10 cgso = 2.9996e-10 cgbo = 5.84095e-10
+ xpart = 1 
+ n0 = 1 ln0 = 0 wn0 = 0
+ nb = 0 lnb = 0 wnb = 0
+ nd = 0 lnd = 0 wnd = 0
+ rsh = 25.46 cj = 0.0001291 cjsw = 7.226e-10
+ js = 0 pb = .8 pbsw = .8
+ mj = .7243 mjsw = .3826 wdf = 0
+ dell = 0
.model vti_nm1_du2 nmos level=4
+ vfb = -.7529 lvfb = -.14067 wvfb = 0.092774
+ phi = .74675 lphi = 0 wphi = 0
+ k1 = .988823 lk1 = .1628 wk1 = .203936
+ k2 = .108476 lk2 = .173563 wk2 = -.12216
+ eta = -0.0086779 leta = 0.0205081 weta = 0.0139611
+ muz = 587.442 dl = .42161 dw = -.56677
+ u0 = 0.0510082 lu0 = 0.0554135 wu0 = -0.029857
+ u1 = 0.0619386 lu1 = .871826 wu1 = -.55545
+ x2mz = 7.71556 lx2mz = -11.821 wx2mz = 54.0946
+ x2e = -0.00056805 lx2e = -0.012993 wx2e = -0.0024351
+ x3e = 0.000850187 lx3e = -0.0014466 wx3e = -0.010628
+ x2u0 = 0.00101386 lx2u0 = -0.0030728 wx2u0 = 0.0192974
+ x2u1 = -0.020091 lx2u1 = 0.0357457 wx2u1 = 0.073289
+ mus = 663.283 lmus = 511.339 wmus = -56.514
+ x2ms = -12.627 lx2ms = 34.3381 wx2ms = 133.296
+ x3ms = 3.8274 lx3ms = 88.2534 wx3ms = -45.705
+ x3u1 = 0.0108573 lx3u1 = 0.086364 wx3u1 = -0.070326
+ tox = 0.0413 temp = 27 vdd = 5
+ cgdo = 2.64385e-10 cgso = 2.64385e-10 cgbo = 5.18763e-10
+ xpart = 1 
+ n0 = 1 ln0 = 0 wn0 = 0
+ nb = 0 lnb = 0 wnb = 0
+ nd = 0 lnd = 0 wnd = 0
+ rsh = 107.6 cj = 0.000287 cjsw = 3.37e-10
+ js = 1e-08 pb = .8 pbsw = .8
+ mj = .6345 mjsw = .3459 wdf = 0
+ dell = 0
.model vti_nm1_du1 nmos level=4
+ vfb = -.7529 lvfb = -.14067 wvfb = 0.092774
+ phi = .74675 lphi = 0 wphi = 0
+ k1 = .988823 lk1 = .1628 wk1 = .203936
+ k2 = .108476 lk2 = .173563 wk2 = -.12216
+ eta = -0.0086779 leta = 0.0205081 weta = 0.0139611
+ muz = 587.442 dl = .42161 dw = -.56677
+ u0 = 0.0510082 lu0 = 0.0554135 wu0 = -0.029857
+ u1 = 0.0619386 lu1 = .871826 wu1 = -.55545
+ x2mz = 7.71556 lx2mz = -11.821 wx2mz = 54.0946
+ x2e = -0.00056805 lx2e = -0.012993 wx2e = -0.0024351
+ x3e = 0.000850187 lx3e = -0.0014466 wx3e = -0.010628
+ x2u0 = 0.00101386 lx2u0 = -0.0030728 wx2u0 = 0.0192974
+ x2u1 = -0.020091 lx2u1 = 0.0357457 wx2u1 = 0.073289
+ mus = 663.283 lmus = 511.339 wmus = -56.514
+ x2ms = -12.627 lx2ms = 34.3381 wx2ms = 133.296
+ x3ms = 3.8274 lx3ms = 88.2534 wx3ms = -45.705
+ x3u1 = 0.0108573 lx3u1 = 0.086364 wx3u1 = -0.070326
+ tox = 0.0413 temp = 27 vdd = 5
+ cgdo = 2.64385e-10 cgso = 2.64385e-10 cgbo = 5.18763e-10
+ xpart = 1 
+ n0 = 1 ln0 = 0 wn0 = 0
+ nb = 0 lnb = 0 wnb = 0
+ nd = 0 lnd = 0 wnd = 0
+ rsh = 25.46 cj = 0.0001291 cjsw = 7.226e-10
+ js = 0 pb = .8 pbsw = .8
+ mj = .7243 mjsw = .3826 wdf = 0
+ dell = 0
*
* .ac dec 10 1 1k
* .dc vin 0.0 5.0 0.05
.tran 2ns 40ns
.end
