summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/xspice/original-examples/spice3.deck
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/xspice/original-examples/spice3.deck
parentfd62c52150c7d1f81da8060b2f5db6b94d174ccf (diff)
downloadeSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.gz
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.bz2
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.zip
upgrade ngspice to v31
Diffstat (limited to 'Windows/spice/examples/xspice/original-examples/spice3.deck')
-rw-r--r--Windows/spice/examples/xspice/original-examples/spice3.deck25
1 files changed, 25 insertions, 0 deletions
diff --git a/Windows/spice/examples/xspice/original-examples/spice3.deck b/Windows/spice/examples/xspice/original-examples/spice3.deck
new file mode 100644
index 00000000..0cd56b41
--- /dev/null
+++ b/Windows/spice/examples/xspice/original-examples/spice3.deck
@@ -0,0 +1,25 @@
+A Berkeley SPICE3 compatible circuit
+*
+* This circuit contains only Berkeley SPICE3 components.
+*
+* The circuit is an AC coupled transistor amplifier with
+* a sinewave input at node "1", a gain of approximately -3.9,
+* and output on node "coll".
+*
+.tran 1e-5 2e-3
+*
+vcc vcc 0 12.0
+vin 1 0 0.0 ac 1.0 sin(0 1 1k)
+*
+ccouple 1 base 10uF
+*
+rbias1 vcc base 100k
+rbias2 base 0 24k
+*
+q1 coll base emit generic
+.model generic npn
+*
+rcollector vcc coll 3.9k
+remitter emit 0 1k
+*
+.end