Build a CPU
Step 2 of 9
Exclusive OR
Making a gate that does not exist
You need a part that turns on when the two inputs are different. Nobody is going to give you one. Build it out of the three you have.
This is the first thing that requires a plan rather than a lucky click, and it is worth knowing why it matters: once you can build a missing part out of the parts you own, the set you started with stops being a limit.
This step builds on the ones before it, and will make a lot more sense after them. Go to Logic gates
Tap a part to add it. Tap an output pin, then the part it feeds. Tap a switch to flip it.
Something has an unconnected input. Every input pin needs a wire before the circuit can run.
| A | B | Out | |
|---|---|---|---|
| 0 | 0 | 0· | |
| 0 | 1 | 1· | |
| 1 | 0 | 1· | |
| 1 | 1 | 0· |
Sign in to save your progress. The board works either way.