
A small workbench for digital logic. Add gates, wire them up by clicking an output and then the input it should feed, and flip the inputs to watch the signals move: bright wires carry a 1, dim ones a 0, and amber ones are not connected to anything yet. Up to four inputs drive one output lamp.
Everything you would otherwise work out on paper follows the circuit as you build it: the full truth table, the Karnaugh map in Gray-code order, and the simplest sum-of-products expression, found with the Quine–McCluskey method. The row for the inputs you have set is highlighted in both tables. Copy link saves the circuit, so a finished design can be sent to someone or embedded on a course page.
Click an output pin, then an input pin to wire them. Click a wired input to free it. Drag gates to move them. Click A, B… to flip them.
| A | B | C | Y |
|---|---|---|---|
| 0 | 0 | 0 | 1 |
| 0 | 0 | 1 | 0 |
| 0 | 1 | 0 | 1 |
| 0 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 |
| 1 | 0 | 1 | 0 |
| 1 | 1 | 0 | 1 |
| 1 | 1 | 1 | 1 |
| A\BC | 00 | 01 | 11 | 10 |
|---|---|---|---|---|
| 0 | 1 | 0 | 0 | 1 |
| 1 | 1 | 0 | 1 | 1 |
The fewest product terms that give this table. A' means NOT A.
