The single-cycle MIPS processor, as a circuit board
Every instruction runs from one clock edge to the next. Watch the values ripple from the PC through the board, see which wires the instruction really uses, and which 1-bit control lines (amber) steer it there.
Fig 1Single-cycle datapathHover a wire or chip · press STEP
32-bit data bus: wide traceInstruction field (4–28 bits): medium trace1-bit control / flag: amber, LED lit = 1Don't-care (X) or unused this cycle: fadedMoving dashes: value this instruction usesLayout follows Patterson & Hennessy's datapath with Jump (JAL, JR, JALR omitted). The clock period must fit the slowest instruction, lw: PC → instruction memory → registers → ALU → data memory → MemtoReg mux → register file. Every other instruction waits for it — the price of a single cycle.