Control Unit Coa
Control Unit Coa
The control unit interprets program instructions and converts them into control signals for the
CPU's components.It also manages the clock signals among the devices
2 Execution Coordination
It coordinates the execution of these instructions, ensuring that each operation is
performed in the correct sequence.
3 Error Detection
Additionally, the control unit detects and reports any errors that may occur during
the execution of instructions.
Functions of the Control Unit:
•It coordinates the sequence of data movements into,
out of, and between a processor’s many sub-units.
•It interprets instructions.
•It controls data flow inside the processor.
•It receives external instructions or commands to
which it converts to sequence of control signals.
•It controls many execution units(i.e. ALU, data
buffers and registers) contained within a CPU.
•It also handles multiple tasks, such as fetching,
decoding, execution handling and storing results .
Control Unit diagram
VV
The control unit generates control signals to manage It also manages the Arithmetic Logic Unit (ALU) by
data movement and processing within the CPU. providing operation control signals.
Decode
It interprets the instruction to determine the required action.
Execute
The control unit coordinates the execution of the instruction, ensuring proper data
manipulation.
Relation between Control Unit and Central
Processing Unit (CPU)
The Control Unit is an integral part of the Central
Processing Unit, responsible for efficiently
managing and controlling the other components of
the CPU. These components include the
Arithmetic Logic Unit (ALU) and the registers.
The relation between the Control Unit and other
parts of the CPU can be summarised as follows:
Types of Control Unit:
A traditional control unit uses hardwired logic to : Microprogrammed control units use microinstructions
execute instructions. It directly controls the operation stored in control memory to generate control signals.
of the CPU based on fixed circuitry.
: Hardwired control units are built using combinational
logic circuits, such as AND, OR, and NOT gates, along
with multiplexers and decoders, to implement the control
logic directly.
CONTROL UNIT
DEVELOPMENT TIMELINE
•1950s: The concept of control units emerged alongside early computer
architectures such as the ENIAC and UNIVAC.
•1960s: The development of hardwired control units dominated this era, as they
were simpler to design and implement.
•1970s: With the increasing complexity of instruction sets and the need for
more flexibility, microprogrammed control units gained popularity.
Low Overhead
Fast Processing Reliability
The hardwired control unit It offers reliable and stable Requires minimal additional
operates at high speeds, ensuring performance, contributing to the hardware and overhead, making
quick execution of instructions overall dependability of the it a cost-effective solution for
and efficient data processing. computer system. controlling CPU operations.
Limitations of a Hardwired Control Unit
2 Real-time Processing
Applied in systems requiring real-time data processing, such as medical devices and
aerospace technology.
3 Control Systems
Utilized in control systems for machinery, robotics, and manufacturing processes to
manage operations efficiently.
Microprogrammed Control
Unit
A microprogrammed control unit is a hardware component in a computer that
uses microcode to control the execution of instructions. It is an essential part of
the CPU and is responsible for managing the operation of the entire system. This
type of control unit uses a control memory that contains microinstructions, which
are used to control the data paths, registers, and other components of the CPU.
The microprogrammed control unit plays a critical role in ensuring the efficient
and accurate execution of instructions.
• Maurice Wilkes, is credited with inventing microprogramming at the
University of Cambridge in the late 1940s. His work laid the foundation for
the development of microprogrammed control units in subsequent computer
systems.
Components of a Microprogrammed
Control Unit
Control Memory
Stores the microinstructions that control the operations of the control unit.
Control Sequencer
Determines the sequence in which microinstructions are executed to carry out machine
instructions.
Microinstruction Register
Holds the current microinstruction being executed by the control unit.
Microinstructions and Microcode
Microinstructions
Microinstructions are a set of control signals that govern the operation of the CPU at a basic level,
executing each machine instruction.
Microcode
Microcode is low-level instructions stored in control memory that represent the microinstructions
and provide the necessary control signals for each machine instruction.
Advantages of Microprogrammed
Control Unit
Flexibility
The microprogrammed control unit allows for easy modification and updating of the control
signals without altering the hardware circuitry.
Debugging
It provides an efficient platform for locating and correcting errors in the control unit's operations
due to its modular nature.
Complex Instructions
It supports the implementation of complex instructions, enhancing the architecture's capabilities
and flexibility.
Advantages of Microprogrammed
Control Unit