aboutsummaryrefslogtreecommitdiff
path: root/circuits/nand-test.txt
blob: 03b29a6ea712ba281b39c3d1c958be3a8b1cb2dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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;