Circuits/Building Larger Circuits
Building Larger Circuits
Composing small blocks into complete datapaths.
- 1medium
4-bit ALU
A 4-bit ALU that performs add, subtract, and, or, and xor selected by a 3-bit opcode, with carry-out and zero flags.
- 2medium
Traffic Light Controller
A 3-state, timer-driven Moore FSM that cycles a traffic light through red, green, and yellow with different hold times.
- 3hard
Simple Datapath: Register File + ALU + Writeback
Combine a register-file read, a combinational ALU, and a synchronous writeback into a one-instruction-slot datapath.
- 4hard
UART-Lite Transmitter
Shift a byte out serially as a UART frame (start bit, 8 data bits LSB-first, stop bit) driven by an external baud tick pulse.
- 5medium
Parameterized Fixed-Priority Arbiter
A combinational, parameterized fixed-priority arbiter that grants exactly one requester: the lowest-indexed one asking.
- 6medium
Counter with Period 1000
Generate a pulse at a period of exactly 1000 input clock cycles.
- 7medium
4-Bit Shift Register and Down Counter
Combine a loadable shift register with a decrementing count of remaining bits.
- 8medium
FSM: Sequence 1101 Recognizer
Detect the bit pattern 1101 in a serial stream, including overlapping matches.
- 9medium
FSM: Enable Shift Register
Control a serial shift register with a synchronous reset and enable.
- 10hard
The Complete Timer
Compose seconds and minutes counters with a rollover event.
- 11medium
FSM: One-Hot Logic Equations
Write Boolean next-state equations for a one-hot sequence detector.
- 12hard
FSM: The Complete FSM
Implement a complete Moore sequence detector with state and output visibility.