diff options
author | rahulp13 | 2020-03-03 05:31:58 +0530 |
---|---|---|
committer | rahulp13 | 2020-03-03 05:31:58 +0530 |
commit | dfc268e0863c913a1b8726cd54eea3b40caf7c67 (patch) | |
tree | 1cd82634684da5ae86b558d44756189e080545d4 /Windows/spice/examples/soi/Inv_chain.sp | |
parent | fd62c52150c7d1f81da8060b2f5db6b94d174ccf (diff) | |
download | eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.gz eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.bz2 eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.zip |
upgrade ngspice to v31
Diffstat (limited to 'Windows/spice/examples/soi/Inv_chain.sp')
-rw-r--r-- | Windows/spice/examples/soi/Inv_chain.sp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Windows/spice/examples/soi/Inv_chain.sp b/Windows/spice/examples/soi/Inv_chain.sp new file mode 100644 index 00000000..6cd43c78 --- /dev/null +++ b/Windows/spice/examples/soi/Inv_chain.sp @@ -0,0 +1,36 @@ +Mx Drain in Source Back-gate(substrate) Body Tx W L (body ommitted for FB) + +.include ./bsim4soi/nmos4p0.mod +.include ./bsim4soi/pmos4p0.mod +*.option TEMP=27C ITL4=100 RELTOL=.01 GMINSTEPS=200 ABSTOL=1N VNTOL=1M + +Vpower VD 0 1.5 +Vgnd VS 0 0 + +Vgate in VS PULSE(0v 1.5v 100ps 50ps 50ps 200ps 500ps) + +*drain gate source substrate body contact +MN0 out0 in VS VS VS N1 W=5u L=0.18u +MP0 out0 in VD VS VD P1 W=10u L=0.18u +MN1 out1 Out0 VS VS VS N1 W=5u L=0.18u +MP1 out1 Out0 VD VS VD P1 W=10u L=0.18u +MN2 out2 Out1 VS VS VS N1 W=5u L=0.18u +MP2 out2 Out1 VD VS VD P1 W=10u L=0.18u +MN3 out3 Out2 VS VS VS N1 W=5u L=0.18u +MP3 out3 Out2 VD VS VD P1 W=10u L=0.18u +MN4 out4 Out3 VS VS VS N1 W=5u L=0.18u +MP4 out4 Out3 VD VS VD P1 W=10u L=0.18u + +.tran 6p 600p +.print tran v(in) v(out4) + +.control +if $?batchmode +* do nothing +else + run + plot in out4 +endif +.endc + +.END |