diff options
Diffstat (limited to 'circuits')
-rw-r--r-- | circuits/nand-test.txt | 22 |
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; |