Hardwired & Micro-Programmed C.U.
Hardwired & Micro-Programmed C.U.
In a system or computer, most of the tasks are controlled with the help of a processor or
CPU (Central processing unit), which is the main component of a computer. The CPU usually
has two main systems: control unit (CU) and arithmetic and logic unit (ALU). The
mathematical and logical operations are handled by ALU whereas Control Unit (CU) is used
to synchronize the tasks by sending timings and control signals.
To execute an instruction, the control unit of the CPU must generate the required
control signal in the proper sequence. There are two approaches used for generating the
control signals in proper sequence:
(i) Hardwired Control unit and
(ii) Micro-programmed control unit.
Hardwired control units are simple and fast, but they can be inflexible and difficult to
modify.
Key Points:
Fixed logic circuits that correspond directly to the Boolean expressions are
used to generate the control signals.
Hardwired control is faster than micro-programmed control.
A controller that uses this approach can operate at high speed.
RISC architecture is based on the hardwired control unit
Micro-programmed Control Unit:
On the other hand, a Micro-Programmed Control Unit is a control unit that uses a
microcode to execute instructions. The microcode is a set of instructions that can be
modified or updated, allowing for greater flexibility and ease of modification. The
control signals for each instruction are generated by a microprogram that is stored in
memory, rather than being hardwired into the control unit.
Micro-programmed control units are slower than hardwired control units because they
require an extra step of decoding the microcode to generate control signals, but they are
commonly used in modern CPUs because they allow for easier implementation of
complex instruction sets and better support for instruction set extensions.
Key Points:
The control signals associated with operations are stored in special memory
units inaccessible by the programmer as Control Words.
Control signals are generated by a program that is similar to machine
language programs.
The micro-programmed control unit is slower in speed because of the time it
takes to fetch microinstructions from the control memory.
Micro-programmed Control
Hardwired Control
Unit
Unit