summaryrefslogtreecommitdiff
path: root/Windows/spice/examples/xspice/original-examples/digital_invert.deck
diff options
context:
space:
mode:
Diffstat (limited to 'Windows/spice/examples/xspice/original-examples/digital_invert.deck')
-rw-r--r--Windows/spice/examples/xspice/original-examples/digital_invert.deck23
1 files changed, 23 insertions, 0 deletions
diff --git a/Windows/spice/examples/xspice/original-examples/digital_invert.deck b/Windows/spice/examples/xspice/original-examples/digital_invert.deck
new file mode 100644
index 00000000..08d7f6e9
--- /dev/null
+++ b/Windows/spice/examples/xspice/original-examples/digital_invert.deck
@@ -0,0 +1,23 @@
+Digital inversions
+*
+.tran 1e-8 1e-6
+*
+v1 1 0 0.0 pulse(0 1 0 1e-8 1e-8 0.25e-6 0.5e-6)
+r1 1 0 1k
+*
+a1 [1] [2] adc
+.model adc adc_bridge
+*
+a2 2 3 inv
+a3 2 ~4 inv
+a4 ~2 5 inv
+a5 ~2 ~6 inv
+.model inv d_inverter
+*
+a6 [2 ~4] 7 nand
+.model nand d_nand
+*
+a8 [2 3 4 5 6 7] [12 13 14 15 16 17] dac
+.model dac dac_bridge
+*
+.end