- Asked 2/22
- 2078 Bhadra · 10 marks
- 2076 Asoj · 4 marks
Microprogram control unit organization
Short answer
A microprogrammed control unit stores microinstructions in a control memory (ROM). The CAR holds the next address, and a sequencer selects it from CAR+1, branch address, opcode mapping, or SBR return. The CDR feeds decoded microoperation fields to generate control signals.
Explain the organization structure of a microprogram control unit and the generation of control signals using microprogram.
A microprogrammed control unit generates control signals by reading microinstructions from a control memory, instead of using fixed logic. Each machine instruction is carried out by a sequence of microinstructions (a microprogram or routine).
Instruction register (opcode)
|
+------v------+ +----------------+
| Mapping |-->| CAR |<-- next-address
| logic | | (control addr) | generator
+-------------+ +-------+--------+ (sequencer)
| ^
+-------v--------+ |
| Control memory| | status,
| (ROM) | | branch fields
+-------+--------+ |
+-------v--------+---------+
| Control data |
| register (CDR) |
+-------+--------+
v
control signals to ALU, registers, buses
Components
- Control memory (ROM): stores the microprograms permanently. For Mano's computer it is 128 × 20 bits.
- Control address register (CAR): holds the address of the next microinstruction.
- Sequencer (next-address logic): selects CAR + 1, the branch address, the return address (from SBR) or the mapped address.
- Control data register (pipeline register): holds the microinstruction being executed, so that the next one can be fetched while it executes.
- Mapping logic: converts the opcode of the machine instruction to the starting address of its routine.
- Subroutine register (SBR): stores the return address for micro-subroutines.
Generation of control signals
- The fetch routine is the first microprogram to run (CAR = 64). It loads the instruction into IR.
- The opcode is mapped to the address of the routine for that instruction, and this address is loaded into CAR.
- The microinstruction read from the control memory goes to the CDR. Its microoperation fields F1, F2, F3 are decoded by 3-to-8 decoders; each decoder output is a control signal (for example PCTAR, READ, INCPC) that enables a datapath transfer.
- The CD, BR and AD fields go to the sequencer, which decides the next address.
- At the end of the routine, a branch goes back to FETCH, and the cycle repeats.
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- Steps in designing a microprogram control unit · Computer Organization and Architecture, chapter 3
- Control signal types and hardware control unit · Computer Organization and Architecture, chapter 3
- Organization of control memory · Computer Organization and Architecture, chapter 3
- Microprogram sequencer · Computer Organization and Architecture, chapter 3 · asked 5×
- Symbolic microprogram for fetch and add routines · Computer Organization and Architecture, chapter 3
- Microinstruction format and fetch microprogram · Computer Organization and Architecture, chapter 3 · asked 2×
- Organizational structure and line organization · Organization and Management, chapter 5
- Org structure definition; line organization pros/cons · Organization and Management, chapter 5
- Short note: Organization structure · Organization and Management, chapter 5
- Entropy generation for a control mass · Fundamental of Thermodynamics & Heat Transfer, chapter 5
All Computer Organization and Architecture chapter 3 questions →