Understanding the Heart of Computer Architecture
Control memory is the heart of micro-programmed control units, storing microinstructions that define the control signals for each machine instruction.
Click on memory blocks to see their contents:
Control memory consists of:
Each memory location contains a complete microinstruction with multiple fields for different control functions. The width typically ranges from 50-100 bits to accommodate all necessary control signals.
Sequential access is the default, but branch microinstructions can alter the sequence based on condition codes or instruction opcodes.
The control unit design involves careful consideration of microinstruction format, sequencing logic, and control signal generation.
Also referred to as the Next Address Register, the Control Address Register (CAR) holds the address of the microinstruction to be read from the control memory (ROM).
The Control Data Register (CDR) holds the present microinstruction while its microoperations are being executed and the next address is computed.
The Next Address Generator, often called the Program Sequencer or Microprogram Sequencer, determines the address sequence that is read from the control memory.
Typical functions:
The execution of a machine instruction involves a series of sequential microinstructions in control memory. In a simplified view:
Understanding the key differences between hardwired and microprogrammed control units.
| Aspect | Hardwired Control | Microprogrammed Control |
|---|---|---|
| Speed | Faster execution | Slower due to memory access |
| Flexibility | Fixed, difficult to modify | Highly flexible and modifiable |
| Complexity | Complex hardware design | Simpler hardware, complex software |
| Cost | Higher hardware cost | Lower hardware cost |
| Debugging | Difficult to debug | Easier to debug and test |
| Instruction Set | Limited instruction set | Can support complex instruction sets |
| Development Time | Longer development time | Shorter development time |
| Applications | RISC processors, simple CPUs | CISC processors, complex systems |