Timing and Control Unit
Timing and Control Unit
Maninder Kaur
www.eazynotes.com 1
[email protected]
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
[email protected]
DESIGN OF CONTROL UNIT
Maninder Kaur
www.eazynotes.com 4
[email protected]
HARDWIRED CONTROL UNIT
Maninder Kaur
www.eazynotes.com 5
[email protected]
HARDWIRED CONTROL UNIT
ADVANTAGES
Maninder Kaur
www.eazynotes.com 6
[email protected]
HARDWIRED CONTROL UNIT
DISADVANTAGES
Maninder Kaur
www.eazynotes.com 7
[email protected]
ARCHITECTURE OF HARDWIRED CONTROL UNIT
I Opcode Address
Maninder Kaur
www.eazynotes.com 8
[email protected]
HARDWIRED CONTROL UNIT
Instruction Register
Two Decoders
Maninder Kaur
www.eazynotes.com 10
[email protected]
HARDWIRED CONTROL UNIT
First 12-bits (0-11) are applied to the control logic gates.
Maninder Kaur
www.eazynotes.com 12
[email protected]
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
[email protected]
TIMING DIAGRAM
Maninder Kaur
www.eazynotes.com 14
[email protected]
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
[email protected]
MICRO-PROGRAMMED CONTROL UNIT
Maninder Kaur
www.eazynotes.com 17
[email protected]
MICRO-PROGRAMMED CONTROL UNIT
ADVANTAGES
Maninder Kaur
www.eazynotes.com 18
[email protected]
MICRO-PROGRAMMED CONTROL UNIT
DISADVANTAGES
Maninder Kaur
www.eazynotes.com 19
[email protected]
ARCHITECTURE OF MICRO-PROGRAMMED
CONTROL UNIT
Maninder Kaur
www.eazynotes.com 20
[email protected]
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
[email protected]
COMPARISON BETWEEN HARDWIRED AND
MICRO-PROGRAMMED CONTROL UNIT
Attributes Hardwired Control Micro-programmed Control
Maninder Kaur
www.eazynotes.com 22
[email protected]