AlgoPlus//structures / control-unit
Read the theory

Control Unit

How control signals are generated — fixed logic (hardwired) vs a stored microprogram.

Type
Hardwired
Step
1/1
Type
Legend
Signal asserted
Decoder / µPC
Inactive
AI Tutor Workspace
In a nutshell
The control unit is the part of the CPU that turns an instruction into the right sequence of control signals — the on/off lines that steer data through the hardware. There are two ways to build it. Hardwired control uses fixed logic gates wired to the opcode: fast and cheap, but changing it means redesigning the circuit. Microprogrammed control stores the signals as a tiny program in a control memory that a microPC steps through: slower, but easy to extend or patch.
Ready
Press play to begin the cinematic walkthrough.
Hardwired control computes signals with fixed combinational logic from the opcode — fast but rigid. Microprogrammed control stores the signals as a microprogram a microPC steps through — flexible and patchable, but slower.
Key terms
Go deeper in the lesson
Read the full theory, intuition & complexity for Control Unit.