summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/p-to-n-examples/MOS1_out.cir
diff options
context:
space:
mode:
authorrahulp132020-03-03 05:31:58 +0530
committerrahulp132020-03-03 05:31:58 +0530
commitdfc268e0863c913a1b8726cd54eea3b40caf7c67 (patch)
tree1cd82634684da5ae86b558d44756189e080545d4 /Windows/spice/examples/p-to-n-examples/MOS1_out.cir
parentfd62c52150c7d1f81da8060b2f5db6b94d174ccf (diff)
downloadeSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.gz
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.bz2
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.zip
upgrade ngspice to v31
Diffstat (limited to 'Windows/spice/examples/p-to-n-examples/MOS1_out.cir')
-rw-r--r--Windows/spice/examples/p-to-n-examples/MOS1_out.cir27
1 files changed, 27 insertions, 0 deletions
diff --git a/Windows/spice/examples/p-to-n-examples/MOS1_out.cir b/Windows/spice/examples/p-to-n-examples/MOS1_out.cir
new file mode 100644
index 00000000..fb46e9b6
--- /dev/null
+++ b/Windows/spice/examples/p-to-n-examples/MOS1_out.cir
@@ -0,0 +1,27 @@
+Test MOS1
+
+vb Nvf 0 0
+
+vd Nvd 0 0
+vg Nvg 0 0
+
+vs1 Nvs1 0 0
+vs2 Nvs2 0 0
+vs3 Nvs3 0 0
+
+* W/L = 3
+M1 Nvd Nvg Nvs1 Nvf NMOS
+* W/L = 2
+M2 Nvd Nvg Nvs2 Nvf NMOS W=10u L=5u
+* W/L = 1
+M3 Nvd Nvg Nvs3 Nvf NMOS3
+
+.MODEL NMOS NMOS (LEVEL = 1 L = 3u W = 9u)
+.MODEL NMOS3 NMOS (LEVEL = 1)
+
+.control
+dc vd 0 5 0.1 vg 0 5 1
+plot vs1#branch vs2#branch vs3#branch
+.endc
+
+.end