summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/xspice/table/table-model-man-3d-1.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-man-3d-1.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-man-3d-1.sp')
-rw-r--r--Windows/spice/examples/xspice/table/table-model-man-3d-1.sp33
1 files changed, 33 insertions, 0 deletions
diff --git a/Windows/spice/examples/xspice/table/table-model-man-3d-1.sp b/Windows/spice/examples/xspice/table/table-model-man-3d-1.sp
new file mode 100644
index 00000000..2099d582
--- /dev/null
+++ b/Windows/spice/examples/xspice/table/table-model-man-3d-1.sp
@@ -0,0 +1,33 @@
+Code Model Test - 3d Table Model
+* simple table, generated manually
+*
+*** analysis type ***
+.control
+dc V1 0.1 1.4 0.1 V3 4.1 4.5 0.2
+plot v(1) v(2) v(11, 10)
+.endc
+*
+*** input sources ***
+*
+v1 1 0 DC 1.5
+*
+v2 2 0 DC 1.5
+*
+v3 3 0 DC 1.5
+
+**** table model ***
+a1 1 2 3 %id(10 11) table1
+.model table1 table3d (offset=0.0 gain=1.0 order=2 file="test-3d-1.table")
+*
+*
+
+*** resistors to ground ***
+r1 1 0 1k
+r2 2 0 1k
+
+r3 10 11 10
+
+r10 10 0 1k
+*
+*
+.end