Microprogrammed Control(Control Unit)
Microprogrammed Control(Control Unit)
Control Unit
Initiate sequences of microoperations. The no. of micro operations in the systems
are finite.
» The control function that specifies a microoperation is a binary variable. When it is in
one state the corresponding microoperation is executed. The opposote state does
not change the state of registers.
» Control signal (that specify microoperations) in a bus-organized system
are
groups of bits that select the paths in multiplexers, decoders, and arithmetic logic units
Two major types of Control Unit
» Hardwired Control :
The control logic is implemented with gates, F/Fs, decoders, and other digital circuits
+ Fast operation, - Wiring change(if the design has to be modified)
» Microprogrammed Control :
The control information is stored in a control memory, and the control memory is
programmed to initiate the required sequence of microoperations
+ Any required change can be done by updating the microprogram in
control memory,
- Slow operation
Control Word: control unit initiates a series of microoperations. during any time
certain microoperations are initiated while others are idle.
The control variables at any given time can be represented by a string of 1’s and
0’s is called control word.
Microprogrammed Control Unit
A control unit whose binary control variables are stored in memory (control
memory).
Microinstruction : Each Word in Control Memory contains within it a microinstruction.
The microinstruction specifies one or more microoperations
Microprogram
A sequence of microinstruction
» Dynamic microprogramming : Control Memory = RAM
RAM can be used for writing (to change a writable control memory)
Microprogram is loaded initially from an auxiliary memory such as a magnetic disk
» Static microprogramming : Control Memory = ROM
Control words in ROM are made permanent during the hardware production.
Microprogrammed control Organization :
Mapping
logic
Branch MUX
Statu Multiplexers
s logic select
bits
Subroutine
regiser
(SBR)
Control a d d r e s s register
Clock
(CAR)
Incrementer
Control memory
Select a status
Microoperations
bi t
Branch
address