6 .load public models-uf.so
13 .model my_rcdmodel rcd_exp
16 .model bti_ptm_approx bti_sum (
18 +(1.28936788433 , -0.0*s, 13.433303380408852, 43.576925888911987*s, 1.4509831704140836),
19 +(0.0425895446518, -0.0*s, 4.1230027350333067, 44.168622555330224*s, 0.35639368027120355),
20 +(0.00986204739979,-0.046730726782108274*s, 6.9322844619511379, 34.467824008855281*s, 19.76034507753667),
21 +(323556.834838, -0.74091304338940822*s, 7.9999074744048002, 50.0*s, 25.0),
22 +(65734.7534834, -0.0*s, 7.6851098109742111, 33.944029750879885*s, 20.802215970322095),
23 +(25.5541996901, -46.321386556453803*s, 16.844440862184946, 11.976323270474861*s, 23.296371309229073)
25 +rcd_model_name=my_rcdmodel weight=1.23
29 .model bti_ptm_approx_symm bti_sum (
31 +(1.28936788433 , -0.0*s, 13.433303380408852, 43.576925888911987*s, 1.4509831704140836),
32 +(0.0425895446518, -0.0*s, 4.1230027350333067, 44.168622555330224*s, 0.35639368027120355),
33 +(0.00986204739979,-0.046730726782108274*s, 6.9322844619511379, 34.467824008855281*s, 19.76034507753667),
34 +(323556.834838, -0.74091304338940822*s, 7.9999074744048002, 50.0*s, 25.0),
35 +(65734.7534834, -0.0*s, 7.6851098109742111, 33.944029750879885*s, 20.802215970322095),
36 +(25.5541996901, -46.321386556453803*s, 16.844440862184946, 11.976323270474861*s, 23.296371309229073)
38 +rcd_model_name=my_rcdmodel weight=1.23
46 + bti_model=bti_ptm_approx
47 + ALPHA0 = 6.0E-08 BETA0 = 12
52 .model cmosp_symm pmos(
54 + bti_model=bti_ptm_approx_symm
55 + ALPHA0 = 6.0E-08 BETA0 = 12
65 MPregl nout ng ndd ndd cmosp l=3.5e-5 w=4.5e-6
66 MPsymm nout ng ndd ndd cmosp_symm l=3.5e-5 w=4.5e-6
92 .dc vg 1 5 0.01 > dc.out echo
97 .tw 1u .1m 500000 * 2 new trace=n > symm.out echo
101 .dc vg 1 5 0.01 >> dc.out echo
104 * relax asymmetrically
107 .tw 1000000 * 2 cont trace=n >> symm.out echo
114 .dc vg 1 5 0.01 >> dc.out echo