How do you build a breadboard ALU?
Build a 4-bit arithmetic logic unit that adds, subtracts, ANDs and ORs, selected by two control lines. You need 74HC86 quad XOR gate × 2, 74HC08 quad AND gate × 2, 74HC32 quad OR gate × 2, 74HC4051 8-channel analog multiplexer × 4, DIP switch 8-position × 2, LED 5 mm red × 5, Resistor 330 Ω × 5, Resistor 10 kΩ × 10, Breadboard 1660 points (with base) × 2 and Jumper wires male to male (40 pcs, 20 cm).
- Level
- Advanced
- Time
- About 720 min
- Parts
- 10
Understand the heart of a CPU.
Parts list
- Integrated Circuits
- Integrated Circuits
- Integrated Circuits
- Integrated Circuits
- Switches
- SemiconductorsLED 5 mm red × 5
- PassivesResistor 330 Ω × 5
- PassivesResistor 10 kΩ × 10
- Prototyping
- Prototyping
How to build it
- Build a 4-bit adder
- Subtract by inverting B with XOR and setting carry in
- Add AND and OR paths
- Select the result with multiplexers
- Show the flags for zero and carry
Common questions
What parts do I need for the breadboard ALU?
74HC86 quad XOR gate × 2, 74HC08 quad AND gate × 2, 74HC32 quad OR gate × 2, 74HC4051 8-channel analog multiplexer × 4, DIP switch 8-position × 2, LED 5 mm red × 5, Resistor 330 Ω × 5, Resistor 10 kΩ × 10, Breadboard 1660 points (with base) × 2 and Jumper wires male to male (40 pcs, 20 cm).
How long does the breadboard ALU take to build?
About 720 minutes for a advanced maker.
