
















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















COMPARISON OF CONTROL UNIT IMPLEMENTATIONS
Control Unit Implementation
Combinational Logic Circuits (Hard-wired)
Microprogram
}
Instruction code
Mapping
logic
Multiplexers
Control memory (ROM)
Subroutine
register
Branch
logic
Status
bits
Microoperations
Control address register
(CAR)
Incrementer
select
select a status
bit
Branch address
MAPPING OF INSTRUCTIONS TO MICROROUTINES
Mapping function implemented by ROM or PLA
OP-code
Mapping memory
(ROM or PLA)
Control address register
Control Memory
Mapping from the OP-code of an instruction to the
address of the Microinstruction which is the starting
microinstruction of its execution microprogram
1 0 1 1 Address
OP-code
Mapping bits
Microinstruction
address
0 x x x x 0 0
0 1 0 1 1 0 0
Machine
Instruction
EA is the effective address
Symbol OP-code Description
BRANCH 0001 if (AC < 0) then (PC ← EA)
Opcode
Address
F1, F2, F3: Microoperation fields
CD: Condition for branching
BR: Branch field
AD: Address field
MICROINSTRUCTION FIELD DESCRIPTIONS - F1,F2,F
F1 Microoperation Symbol
000 None NOP
F2 Microoperation Symbol
000 None NOP
F3 Microoperation Symbol
000 None NOP
011 AC ← shl AC SHL
100 AC ← shr AC SHR
111 Reserved
Binary
address F1 F2 F3 CD BR AD
Address Binary Microinstruction
Micro Routine Decimal Binary F1 F2 F3 CD BR AD
DESIGN OF CONTROL UNIT
3 x 8 decoder
3 x 8 decoder
3 x 8 decoder
Arithmetic
logic and
shift unit
Load
From
From
Select
Multiplexers
Load
Clock
MICROPROGRAM SEQUENCER
Input
logic
0
1
Select
Test
0
1
0
1
1
0
S
= I
S
= I
I
’T
L = I
’I
T
Input Logic
1 MUX
External
Load
Incrementer
Input
logic
0
Select
Test
Clock
Control memory
Microops CD BR AD
1
0
......