From bb9a753477870961d776143bd37fb28b8c09c4c9 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Sun, 16 Jun 2024 09:34:19 +0200 Subject: WIP debugging --- circuits/nand-test.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 circuits/nand-test.txt (limited to 'circuits') 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; -- cgit v1.2.3