AlgoPlus//structures / datapath
Read the theory

CPU Datapath & Registers

The hardware blocks an instruction flows through, and the control signals that steer it.

Stage
Step
1/1
Legend
Instr. memory
Register file
ALU
AI Tutor Workspace
In a nutshell
The datapath is the chain of hardware an instruction physically travels through. The program counter points into instruction memory to fetch the instruction; the register file reads its operands; the ALU computes; data memory is read or written for loads and stores; and the result is written back into a register. The control unit sets the signals — including the mux selects — that route data correctly, and a single-cycle datapath does the whole journey in one clock tick.
Ready
Press play to begin the cinematic walkthrough.
An instruction flows through fixed hardware blocks — PC, instruction memory, register file, ALU, data memory, write-back — while the control unit raises the signals that steer the muxes. A single-cycle datapath does it all in one tick.
Key terms
Go deeper in the lesson
Read the full theory, intuition & complexity for CPU Datapath & Registers.