aboutsummaryrefslogtreecommitdiff
path: root/circuits
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-06-16 09:34:19 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-06-16 09:34:19 +0200
commitbb9a753477870961d776143bd37fb28b8c09c4c9 (patch)
tree205aa00eedcc7f548ff90d665049862606bc0b06 /circuits
parent3cf454ef959b36f90803fb63fcb2fe26b85335a0 (diff)
WIP debugging
Diffstat (limited to 'circuits')
-rw-r--r--circuits/nand-test.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/circuits/nand-test.txt b/circuits/nand-test.txt
new file mode 100644
index 0000000..03b29a6
--- /dev/null
+++ b/circuits/nand-test.txt
@@ -0,0 +1,22 @@
+# nand gate truth table
+# vim:ft=cfg
+LO: INPUT_LOW;
+HI: INPUT_HIGH;
+
+LO_LO: PROBE;
+LO_HI: PROBE;
+HI_LO: PROBE;
+HI_HI: PROBE;
+
+GATE1: NAND;
+GATE2: NAND;
+GATE3: NAND;
+GATE4: NAND;
+
+LO: GATE1,GATE1,GATE2,GATE3;
+HI: GATE2,GATE3,GATE4,GATE4;
+
+GATE1: LO_LO;
+GATE2: LO_HI;
+GATE3: HI_LO;
+GATE4: HI_HI;