summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/xspice/d_source/d_source.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/xspice/d_source/d_source.cir
parentfd62c52150c7d1f81da8060b2f5db6b94d174ccf (diff)
downloadeSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.gz
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.tar.bz2
eSim-dfc268e0863c913a1b8726cd54eea3b40caf7c67.zip
upgrade ngspice to v31
Diffstat (limited to 'Windows/spice/examples/xspice/d_source/d_source.cir')
-rw-r--r--Windows/spice/examples/xspice/d_source/d_source.cir21
1 files changed, 21 insertions, 0 deletions
diff --git a/Windows/spice/examples/xspice/d_source/d_source.cir b/Windows/spice/examples/xspice/d_source/d_source.cir
new file mode 100644
index 00000000..2183a9bd
--- /dev/null
+++ b/Windows/spice/examples/xspice/d_source/d_source.cir
@@ -0,0 +1,21 @@
+Code Model Test: d_source
+
+a_source3 [c1 c2 c3] d_source3
+.model d_source3 d_source (input_file="./test/d_source-stimulus3.txt")
+
+a_source [a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab] d_source1
+.model d_source1 d_source (input_file="d_source-stimulus.txt")
+
+a_source2 [b1 b2 b3 b4 b5 b6 b7 b8 b9 ba] d_source2
+.model d_source2 d_source (input_file="d_source-stimulus2.txt")
+
+.control
+set noaskquit
+set noacct
+tran 100ps 30ns
+eprint c1 c2 c3 > $inputdir/d_s.out
+eprint a1 a2 a3 a4 a5 a6 a7 a8 a9 aa ab >> $inputdir/d_s.out
+eprint b1 b2 b3 b4 b5 b6 b7 b8 b9 ba >> $inputdir/d_s.out
+.endc
+
+.end