Live simulation16 components · 20 wires
A
OFF
B
OFF
AND
0
AND0
OR
0
OR0
NAND
1
NAND1
NOR
1
NOR1
XOR
0
XOR0
XNOR
1
XNOR1
NOT
1
NOT1
Click a switch to toggle it · drag output → input to wire · drag to move · Delete removes the selection · Ctrl+Z undoes.
Truth table
live from the current circuit| A | B | AND | OR | NAND | NOR | XOR | XNOR | NOT |
|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 |
| 1 | 1 | 1 | 1 | 0 | 0 | 0 | 1 | 0 |