summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/xspice/original-examples/parsing.deck
diff options
context:
space:
mode:
Diffstat (limited to 'Windows/spice/examples/xspice/original-examples/parsing.deck')
-rw-r--r--Windows/spice/examples/xspice/original-examples/parsing.deck16
1 files changed, 16 insertions, 0 deletions
diff --git a/Windows/spice/examples/xspice/original-examples/parsing.deck b/Windows/spice/examples/xspice/original-examples/parsing.deck
new file mode 100644
index 00000000..1eb814a4
--- /dev/null
+++ b/Windows/spice/examples/xspice/original-examples/parsing.deck
@@ -0,0 +1,16 @@
+Parsing
+*
+* This circuit contains a simple gain block to demonstrate
+* that the simulator parses the syntax used to reference
+* code models.
+*
+.tran 1e-5 1e-3
+*
+v1 1 0 0.0 sin(0 1 1k)
+r1 1 0 1k
+*
+a1 1 2 gain_block
+.model gain_block gain (gain=10)
+r2 2 0 1k
+*
+.end