Unit 4 Coa
Unit 4 Coa
Prepared by:
Subject:- COA Asst. Prof. S Joshi
Y JOSHI
•Shweta •1
Code:-3140707 (CSE Department,ACET)
Topics to be covered
• Control Memory,
• Address sequencing,
• Micro program example,
• Design of Control Unit
•Shweta Joshi •2
Control Memory
• The function of the control unit in a digital computer is to
initiate sequences of micro operations.
• The control unit initiates a series of sequential steps of micro
operations.
• The control variables at any given time can be represented by
a string of 1's and 0's called a control word.
• As such, control words can be programmed to perform
various operations on the components of the system.
• A control unit whose binary control variables are stored in
memory is called micro programmed control unit.
• A memory that is a part of control unit is called a control
memory.
•Shweta Joshi •3
Address sequencing
•Control memory address register specifies the address of the microinstruction,
and the control data register holds the microinstruction read from memory.
•The microinstruction contains a control word that specifies one or more micro
operations for the data processor.
•The next address generator is sometimes called a micro program sequencer, as
it determines the address sequence that is read from control memory.
•The control data register holds the present microinstruction while the next
address is computed and read from memory. The data register is sometimes
called a pipeline register.
•It allows the execution of the micro operations specified by the control word
simultaneously with the generation of the next microinstruction.
•Shweta Joshi •5
Micro program example
•Shweta Joshi •6
Micro program example
•Shweta Joshi •7
Micro program example
•Shweta Joshi •8
Micro program example
The fields specify the following information.
4. The BR field contains one of the four symbols defined in previous Table
5. The AD field specifies a value for the address field of the microinstruction
in one of three possible ways:
a. With a symbolic address, which must also appear as a label
b. With the symbol NEXT to designate the next address in sequence
c. When the BR field contains a RET or MAP symbol, the AD field is
•Shweta Joshi •9
left empty and is converted to seven zeros by the assembler.
Micro program example