Control Unit
Control Unit
CONTROL UNIT
Introduction
Control Unit is the part of the computer’s central processing unit (CPU), which directs the
operation of the processor.
It is the responsibility of the Control Unit to tell the computer’s memory, arithmetic/logic
unit and input and output devices how to respond to the instructions that have been sent to
the processor.
The functions that a control unit performs are dependent on the type of CPU because the
architecture of CPU varies from manufacturer to manufacturer. Examples of devices that
require a CU are:
- Control Processing Units(CPUs)
- Graphics Processing Units(GPUs)
Components of a Control Unit
The components of this unit are instruction , control signals within the CPU, control signals
to/from the bus, control bus, input flags, and clock signals.
The components of the Hardwired control unit are instruction register (contains opcode and
address field), timing unit, control state , control signal generation matrix, and instruction
decoder.
The components of the Micro programmed control unit are the next address generator, a
control address register, control memory, and control data register.
Components of a Control Unit
How Does Control Unit work?
• A control unit receives data from the user and translates it into
control signals that are subsequently delivered to the central
processor.
• The processor of the computer then instructs the associated
hardware on what operations to do.
• Because CPU architecture differs from manufacturer to
manufacturer, the functions performed by a control unit in a
computer are dependent on the CPU type.
Functions of the Control Unit
1. It coordinates the sequence of data movements into, out of, and between a processor’s many sub-units.
2. It interprets instructions.
5. It controls many execution units (i.e. ALU, data buffers and registers) contained within a CPU.
6. It also handles multiple tasks, such as fetching, decoding, execution handling and storing results.
Types of the Control Unit
• The fundamental difference between these unit structures and the structure of the
hardwired control unit is the existence of the control store.
• the control store is used for storing words containing encoded control signals
mandatory for instruction execution.
• The Microprogrammed Control organization is implemented by using the
programming approach.
• In Microprogrammed Control, the micro-operations are performed by executing a
program consisting of micro-instructions.
2. Micro programmable control unit
2. Micro programmable control unit
1. Flexible and allows designers to incorporate new and more powerful instructions
2. allows any design errors discovered during the prototyping stage to be removed
Microprogrammed Control Unit Disadvantages
1. requires several clock cycles to execute each instruction, due to the access time of
Faster Slower
Only limited number of instructions are used Control signals for many instructions can be generated
Used in computer that uses Reduced Instruction Set (RISC) Used in computer that uses Complex Instruction (CISC)
Conclusion
In summary:
• The CPU is a crucial component in modern computing, and its performance has