
Video: Redstone Computer Tutorial - Episode 25 - Final Building Episode by Redstone Without Limits
How to build it
- Build the Zero Line on the Decoder
Lay out your parallel binary input lines leading into the decoder array. For the zero output line, place repeaters across the inputs so that any active bit suppresses the line, and add an inverting torch and repeater at the output so it only activates when all inputs are zero.
- Program the Remaining Decoder Lines
For each subsequent address line (1, 2, 3, and so on), knock out the repeaters on the input lines that correspond to the active binary bits for that number. Place a redstone torch on the side of the block at those active bit positions to invert the logic, while keeping repeaters on all the zero-bit lines.
- Test the Binary Decoder Inputs
Place temporary levers at the start of the decoder input lines. Toggle binary combinations (such as 1, 2, and 3, plus turning all levers on at once) to verify that only the single corresponding output line turns on for each address.
- Extend the Signal Along the Array
Because the decoder array is long, signals can run out of power before reaching the final lines. Place repeaters along the bus lines to boost the signal strength all the way to the end of the decoder.
- Connect the Program Counter
Position your program counter module near the inputs of the decoder array. Run parallel redstone dust lines from the binary outputs of the program counter directly into the input lines of the decoder.
- Synchronize the Bus Delays
Place a 1-tick repeater at the output of every program counter bit so they leave at the same time. Anywhere you added a repeater to boost signal strength on a long wire, add a matching 1-tick repeater on the parallel shorter wires so all bits arrive at the decoder on the exact same tick.
- Wire a Slow Square-Wave Clock
Clear the program counter back to line 1 and attach a multi-repeater loop clock to the counter's clock input. Dial in a high tick delay on the repeaters to generate a slow, steady square wave with distinct rising and falling edges so the CPU steps through lines without skipping or jittering.
How it works
This stage of the redstone computer links the Program Counter (PC) to the Instruction Decoder:
- Binary Decoding (AND Gate Array): Each output line of the decoder acts as a multi-input AND gate (built as a NOR gate using De Morgan's laws). Unselected bits use repeaters to hold the line off if active, while required bits use redstone torches so the line is only released when that specific binary combination is present.
- Signal Synchronization: Because redstone dust loses power after 15 blocks, repeaters are needed on longer bus lines. Adding matching
1-tickrepeaters across all parallel bit lines ensures the binary value arrives at the decoder simultaneously, preventing brief false addresses (glitches or line jitters) during transitions. - Clocking: The repeater clock generates a slow square wave. Each pulse increments the program counter by one, which updates the binary bus and shifts the active output line on the decoder sequentially from line 1 up through line 16.
Tips & variations
- Keep the Clock Slow: Standard torch-and-repeater logic accumulates redstone tick delay across every gate. Running the clock too fast will cause line skipping or signal jitter before the decoder finishes settling.
- Speed Upgrades: If you want a faster CPU in future builds, replace standard ripple-carry counters and repeater buses with instant-wire logic or instant-carry adders.
- Check the Highest Address: Always test your decoder with all input bits turned ON at the same time to make sure signal strength reaches the very back of the array.

