Timing and Control Unit
Timing and Control Unit
professormaninder@gmail.com
Maninder Kaur
www.eazynotes.com 1
professormaninder@gmail.com
CONTROL UNIT
CPU is partitioned into Arithmetic Logic Unit
(ALU) and Control Unit (CU).
The control unit instructs the arithmetic logic unit that which
logical or arithmetic operation is to be performed.
The control unit co-ordinates the activities of the other two units
as well as all peripherals and auxiliary storage devices linked to
the computer.
Maninder Kaur
www.eazynotes.com 3
professormaninder@gmail.com
DESIGN OF CONTROL UNIT
Maninder Kaur
www.eazynotes.com 4
professormaninder@gmail.com
HARDWIRED CONTROL UNIT
Maninder Kaur
www.eazynotes.com 5
professormaninder@gmail.com
HARDWIRED CONTROL UNIT
ADVANTAGES
Maninder Kaur
www.eazynotes.com 6
professormaninder@gmail.com
HARDWIRED CONTROL UNIT
DISADVANTAGES
Maninder Kaur
www.eazynotes.com 7
professormaninder@gmail.com
ARCHITECTURE OF HARDWIRED CONTROL UNIT
I Opcode Address
Maninder Kaur
www.eazynotes.com 8
professormaninder@gmail.com
HARDWIRED CONTROL UNIT
Instruction Register
Two Decoders
Maninder Kaur
www.eazynotes.com 10
professormaninder@gmail.com
HARDWIRED CONTROL UNIT
First 12-bits (0-11) are applied to the control logic gates.
Maninder Kaur
www.eazynotes.com 12
professormaninder@gmail.com
HARDWIRED CONTROL UNIT
For example:
Consider the case where SC is incremented to provide
timing signals T0, T1, T 2 , T3, and T4 in sequence. At time
T4 , SC is cleared to 0 if decoder output D3 is active.
This is expressed symbolically by the statement:
D3 T4 : SC ← 0
Maninder Kaur
www.eazynotes.com 13
professormaninder@gmail.com
TIMING DIAGRAM
Maninder Kaur
www.eazynotes.com 14
professormaninder@gmail.com
MICRO-PROGRAMMED CONTROL UNIT
A micro-programmed control unit is implemented
using programming approach. A sequence of micro-
operations are carried out by executing a program
consisting of micro-instructions.
Maninder Kaur
www.eazynotes.com 15
professormaninder@gmail.com
MICRO-PROGRAMMED CONTROL UNIT
Maninder Kaur
www.eazynotes.com 17
professormaninder@gmail.com
MICRO-PROGRAMMED CONTROL UNIT
ADVANTAGES
Maninder Kaur
www.eazynotes.com 18
professormaninder@gmail.com
MICRO-PROGRAMMED CONTROL UNIT
DISADVANTAGES
Maninder Kaur
www.eazynotes.com 19
professormaninder@gmail.com
ARCHITECTURE OF MICRO-PROGRAMMED
CONTROL UNIT
Maninder Kaur
www.eazynotes.com 20
professormaninder@gmail.com
ARCHITECTURE OF MICRO-PROGRAMMED
CONTROL UNIT
The address of micro-instruction that is to be executed is stored in the
control address register (CAR).
Maninder Kaur
www.eazynotes.com 21
professormaninder@gmail.com
COMPARISON BETWEEN HARDWIRED AND
MICRO-PROGRAMMED CONTROL UNIT
Attributes Hardwired Control Micro-programmed Control
Maninder Kaur
www.eazynotes.com 22
professormaninder@gmail.com