All labsStart: Logic gates
Build a CPU
Start with switches and lamps. Build the parts that add, choose and remember, wire them into a processor, then write a program and watch it move through the machine you built.
Briefing
You start with nothing but switches and lamps. Each board you finish becomes a part you build the next one from: a gate, then an adder, then memory, until you have a processor — and the last board runs a program through the machine you built.
You'll learn to
- Build XOR, an adder and a multiplexer from AND, OR and NOT
- Explain how a circuit can add, choose and remember
- Wire those parts into a working ALU and a tiny CPU
- Trace a program as it moves through the datapath
0 of 9 steps done0%
Before you build a CPUOptional warm-upTruth tables, binary, and why adding two bits needs two digits. About ten minutes.Exclusive OR
Making a gate that does not exist
Half adder
Where arithmetic starts
Full adder
Adding a carry back in
Multiplexer
How a machine chooses
The ALU
Operations, plus a way to pick one
Registers and memory
Somewhere to put things
Run a program
Instruction, decode, control signals, result
Real architectures
What a genuine processor adds