summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/xspice/table/table-model-bip-2d-2.sp
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/table/table-model-bip-2d-2.sp
parentfd62c52150c7d1f81da8060b2f5db6b94d174ccf (diff)
downloadeSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.gz
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.bz2
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.zip
upgrade ngspice to v31
Diffstat (limited to 'Windows/spice/examples/xspice/table/table-model-bip-2d-2.sp')
-rw-r--r--Windows/spice/examples/xspice/table/table-model-bip-2d-2.sp33
1 files changed, 33 insertions, 0 deletions
diff --git a/Windows/spice/examples/xspice/table/table-model-bip-2d-2.sp b/Windows/spice/examples/xspice/table/table-model-bip-2d-2.sp
new file mode 100644
index 00000000..a726022e
--- /dev/null
+++ b/Windows/spice/examples/xspice/table/table-model-bip-2d-2.sp
@@ -0,0 +1,33 @@
+OpAmp Test with Bipolar Table Model
+* please run the table generator table-generator-q-2d.sp in ngspice to
+* create the table data file qinn-clc409-2d-1.table required by clc409mod.sub
+
+vddp vp 0 3
+vddn vn 0 -3
+
+Xopmap 0 ino outo vp vn CLC409
+Rin in ino 1k
+Rfb ino outo 3k
+
+
+vin in 0 dc 0 PULSE(-1 1 20NS 20NS 20NS 500NS 1000NS)
+
+* circuit with standard bip model
+*.include clc409.sub
+
+* circuit with qinn bipolar table model
+.include clc409mod.sub
+
+.options savecurrents
+
+.control
+dc vin -1 1 0.1
+plot v(outo)
+reset
+tran 10n 1000n
+plot v(outo)
+.endc
+
+
+.end
+