Architecture of Microprogrammed Control Units
Architecture of Microprogrammed Control Units
Control Units
23I262- SHIVRAM
23I263-SHOBIKA
23I264-SHREE SUBHA
23I265-SHRI VISHNU
23I266-SNIGDHA
23I267-SREENIDHI
INTRODUCTION
SHREE SUBHA S(23I264)
INTRODUCTION
• A microprogrammed control unit generates control signals
using a sequence of microinstructions stored in control
memory.
• Unlike a hardwired control unit, which uses fixed logic circuits,
this approach is more flexible and software-like.
• Control signals are produced by executing microinstructions,
each of which specifies low-level operations like data
movement or arithmetic.
• Acts as a midway between hardware and software.
• Facilitates easier updates, debugging, and extension of the
CPU’s capabilities.
A microinstruction typically consists of:
Incrementing CAR by 1
Subroutine Register
Unconditional or Conditional branch
Mapping Instruction
1. Incrementing CAR by 1 :
It holds the address of the current microinstruction being executed.
After the execution of the current microinstruction, the CAR is incremented
by 1 to point to the address of the next microinstruction in sequence.
2. Subroutine Register:
A special register stores the return address (the address of the next
instruction after the subroutine call).
When a subroutine is called, the current address is saved in the subroutine
register, and the CAR is set to the subroutine's start. After execution, the
return address is restored to the CAR.
3. Conditional and Unconditional Branch:
i. Conditional Branch:
The branch occurs only if a specified condition is true (e.g., result of a
comparison)
Example: IF X > 0, jump to address Y.
ii. Unconditional Branch:
The branch always occurs, regardless of any condition
Example: Jump to address Z.
4.Mapping Instruction:
This process translates an instruction's logical address to its physical address in memory. It
ensures the CPU can locate and access instructions correctly.
Techniques include direct mapping, associative mapping, and set-associative mapping,
often used in cache memory systems.
Microinstruction
Formats and
Addressing
-R SHRIVISHNU
Structure of Microinstruction:
The structure of a microinstruction typically includes the following fields:
Opcode Field:
This part specifies the operation or task that needs to be performed,
like "add," "load," or "store.
Address Field:
It contains the address of the memory location or register involved in
the operation. This could be a source or destination address for data.
Control Bits:
These bits control various parts of the processor, such as the ALU
registers, and buses. They determine what actions should be taken for that
microinstruction.
Difference between Horizontal and
Vertical Microinstructions:
Aspect Horizontal Microinstructions Vertical Microinstructions
Use many bits for controlling different
Control Signals Use fewer bits to control fewer parts.
parts.
• Embedded Systems
• Storage Controllers
• Multimedia Processors
THANK YOU