Session - 27 28 - HW Microprog Implementation
Session - 27 28 - HW Microprog Implementation
To familiarize students with the basic concept of Hardware Realization Vs Micro Progrmmed Realization and
Mutlicycle Implementation
INSTRUCTIONAL OBJECTIVES
• Micro programmed control units and hardwired control units can be called two types of control
units. We can execute an instruction with the help of these two control units.
• In the hardwired control unit, the execution of operations is much faster, but the
implementation, modification, and decoding are difficult.
• In contrast, implementing, modifying, decoding micro-programmed control units is very easy.
The micro-programmed control unit is also able to handle complex instructions.
Hardwired
Micro-programmed Realization
• The n bit words are contained by each microinstruction. On the basis of the bit pattern of a
control word, every control signals differ from each other.
• For each step, the micro-program contains a control word/ microinstruction. If we want to
execute a particular instruction, we need a sequence of microinstructions. This process is known
as the micro-routine.
Micro-programmed Realization
Hardwired Realization Vs Micro-programmed realization
Hardwired Micro-programmed
With the help of a hardware circuit, we can implement the While with the help of programming, we can implement the
hardwired control unit. micro-programmed control unit.
The hardwired control unit uses the logic circuit so that it can The micro-programmed CU uses microinstruction so that it can
generate the control signals, which are required for the generate the control signals. Usually, control memory is used to
processor. store these microinstructions.
In the form of logic gates, everything has to be realized in the The micro-programmed control unit is less costly as compared
hardwired control unit. That's why this CU is more costly as to the hardwired CU because this control unit only requires the
compared to the micro-programmed control unit. microinstruction to generate the control signals.
Multicycle Implementation
• The basic idea of the multicycle implementation is to divide the one long cycle of the single cycle
implementation into 3 to 5 shorter cycles. The number of cycles depends on the instruction.
• Unlike pipelining, where different instructions are executed in parallel stages, a multicycle
• This approach aims to optimize the use of hardware by reusing the same set of resources for
different stages of instruction execution, rather than dedicating separate hardware for each stage.
Key Characteristics of Multicycle Implementation
Reference Books:
1. Computer Organization by Carl Hamacher, Zvonko Vranesic and Saftwat Zaky.
2. Computer System Architecture by M. Morris Mano
3. Computer Organization and Architecture by William Stallings