Académique Documents
Professionnel Documents
Culture Documents
CONTROL
1. Introduction to Control Memory (4.1)
Control Unit
Control Memory
Control Word
Microinstruction
Microprogram
Control Memory
Control Address Register
2. Microprogrammed Control Unit Organization (4.1)
Next Address .
Control Decoding Control
Generator CAR CDR .
Circuit signals
(sequencer) Memory
Control Unit-:
• The function of the control unit in a digital computer is to initiate the sequence
of microoperations. During any given time, certain microoperations are to be
initiated, while others remain idle. The types of control unit are
Hardwired Control Unit
Microprogrammed Control Unit
The computer that employs a microprogrammed control unit will have two
2
separate memories: A main memory and a control memory
1-Introduction to Control Memory
CONTROL MEMORY –
• Control memory holds a fixed microprogram that can not be altered
by the occasional user.
• Microinstructions
– Microinstructions or Control words stored in control memory
– Specify control signals or variables for execution of microoperation
• Control Signals or Control Variables
– Binary signals or variables (0’s or 1’s) in the control word specify
microoperations
Control word: The control variables or control signals at any given time can
be represented by a string of 1’s and 0’s called a control word 3
1-Introduction to Control Memory
• Read-only memory (ROM)
• Content of word in ROM at given address specifies
microinstruction
• Each computer instruction initiates series of
microinstructions (microprogram) in control memory
• These microinstructions generate microoperations to
– Fetch instruction from main memory
– Evaluate effective address
– Execute operation specified by instruction
– Return control to fetch phase for next instruction
Control
Address Control word
memory
(microinstruction)
(ROM)
4
Microprogrammed Control Organization
External Next Address Control
input CAR CDR Control
Generator Memory word
(sequencer) (ROM)
• Control memory
– Contains microprograms (set of microinstructions)
– Microinstruction contains
• Bits initiate microoperations
• Bits determine address of next microinstruction
• Control address register (CAR)
– Specifies address of next microinstruction
5
Microprogrammed Control Organization
External Next Address Control
input CDR Control
Generator CA Memory word
(sequencer) R (ROM)
7
Microprogrammed Control Organization
8
Control Unit Implementation (Types
of Control unit
• Hardwired
Memory Instruction code
Combinational . Control
Sequence Counter
Logic Circuits . signals
• Microprogrammed
CAR: Control Address Register
Memory Instruction code CDR: Control Data Register
9
Assignment Questions