COA Lecture 12 Microprogramming PDF
COA Lecture 12 Microprogramming PDF
Control Units
In H/wired, control signals are generated by a
micro instructions are used cause register
transfers and ALU operations
In Micro programmed control unit, the control
unit is specified by a micro program
Basic Idea
For each micro operation control unit has to generate set of
control signals and each control line is either ON or OFF
We can assume each control line by a binary digit.
A Control word is then formed by these bits
Then each micro operation would be represented by a different
Microinstruction address
Jump condition
Function codes
Indirect
cycle
routine
Jump to execute
Interrupt
cycle
routine
Jump to fetch
Jump to opcode routine Execute cycle beginning
AND routine
Jump to fetch or interrupt
ADD routine
Jump to fetch or interrupt
Read
Control
Memory
Control
Unit Decoder
ALU
Control Address Register
Flags Sequencing
Clock Logic
Read
Control
Memory
Register II
Clock
Register I
Control Address
signals decoder
Conditional
signal
Control signals
Branch
Are a necessary part of a microprogram
Microinstruction sequencing
techniques
Based on the current micro instruction,
condition flags, and contents of instruction
register a control memory address is generated
for next instruction.
Based on the format of the address information
in the micro instruction it is classified in to
- Two address field
- Single address field and
- Variable format
control address
register
address
decoder
control
memory
address
branch selection
flags multiplexer instruction
logic
register
control
memory
control
control address
buffer control address +1
register
register
branch
flags multiplexer instruction
logic
address register
selection
control
memory
control
buffer
register control address
branch entire +1
control register
field
field address
field
gate and
function
logic
Control signals
Decode
logic
Control signals
5 11 4 8 4
4 4 8 8 4 4
11
22
22 Microinstruction
bus
18 16
Control Data
chip chip
Bus control
and other Bus logic
procesor
board logic
LSI-11 system
bus
Control
store
Microprogram
sequence
control
Return register
Translation
array INT
Instruction register
P AA AB AC AD AE AF AG AH AJ AK AL
36 71
P BA BB BC BD BE BF BH
72 107
P BH CA CB CC CD CE CF CG CH
P DA DB DC DD DE
BC(4) BE(4)
BB(4) BD(4) BF(7)
BA(8)
Microcode memory
32K 128 bits
128 Microinstruction
Microinstruction
pipeline register
Control and
Microinstruction 96 DA31-DA00
32
ACT8847
ACT8832 ACT8818
floating-point and
registered ALU microsequencer
integer processor
32
System Y bus
Local data
memory PC/AT
32K 32 bits interface
16
MUX
Dual
registers/counters
Stack
B3-B0
Next microde
address