Control Unit Organization
Control Unit Organization
CU's main function is to direct the operations during the execution of a program by the
processor.
The control unit converts the input into control signals sent to different components and
registers to execute its functioning.
The Control Unit cannot store or process the data, it just directs the data signals.
As the name defines it is process of designing the control unit by using the hardware
(circuits). The control logic is implemented with Gates, flip-flops, decoders, and other
digital circuits in this type.
“Control logic is the unit which generates the control signals which are implemented
using the hardware that’s why it is called a hardwired control unit.”
2
Disadvantage:
a) If CPU design is very complicated or very much modern, hardwired control is difficult
to implement
Step 1) A CPU can execute some 16 different instructions (Ins. 1, Ins. 2, Ins. 3, Ins.
4,…….Ins. 16).
So same, for completing one instruction, the different or same number of the cycle are
required by the CPU.
Step 3) For performing one micro-operation, the CPU control unit needs to generate a
set of control signals called control words.
opr 2= 1 C.W
opr 3= C.W
opr 4= 1 C.W
For each micro-operation control word will be different, but some signals are enabled in
each control word, and some are disabled, and the control unit decides all these signals.
Step 4) One instruction is executed with multiple micro-operation cycles, which are
controlled by the control unit. The Control unit decides at what time which instruction is
enabled or disabled.
One who designed the CU only knows which signal is to be enabled or disabled. After
the execution of 1st instruction completely, the timing generator is reset for the second
instruction to complete the second instruction.
In this control unit, logic is implemented with micro-programs. That's why it is called a
micro-programmed control unit. It’s a midway between hardware and software.
“All possible control words are stored in a memory as a part of the control unit; the
specific control word is fetched from memory, then its signals are sent to different
components.”
4
In this type, the control word is used to store the control signals encoded during the
execution of a program and stored in the memory. Memory can be easily changed; we
can change the value (0 or 1) in the control word (enabling and disabling signals). We do
not need to change the whole control word format or we can easily update the control
logic.
There are two types of micro-programmed control units on the basis of control words,
which are saved in the control memory.