summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/soi/Inv_chain.sp
diff options
context:
space:
mode:
Diffstat (limited to 'Windows/spice/examples/soi/Inv_chain.sp')
-rw-r--r--Windows/spice/examples/soi/Inv_chain.sp36
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