Unit5 (1)
Unit5 (1)
- When the control signals are generated by hardware using conventional logic design
techniques, the control unit is said to be hardwired.
Micro programmed control unit:
- A control unit whose binary control variables are stored in memory is called a micro
programmed control unit.
Dynamic microprogramming:
- A more advanced development known as dynamic microprogramming permits a micro
program to be loaded initially from an auxiliary memory such as a magnetic disk. Control
units that use dynamic microprogramming employ a writable control memory. This type
of memory can be used for writing.
Control Memory:
- Control Memory is the storage in the micro programmed control unit to store the micro
program.
Writeable Control Memory:
- Control Storage whose contents can be modified, allow the change in micro program and
Instruction set can be changed or modified is referred as Writeable Control Memory.
Control Word:
- The control variables at any given time can be represented by a control word string of 1 's
and 0's called a control word.
Micro operation, Microinstruction, Micro program
Micro operations:
- In computer central processing units, micro-operations (also known as a micro-ops or
μops) are detailed low-level instructions used in some designs to implement complex
machine instructions (sometimes termed macro-instructions in this context).
Micro instruction:
- A symbolic microprogram can be translated into its binary equivalent by means of an
assembler.
- Each line of the assembly language microprogram defines a symbolic microinstruction.
- Each symbolic microinstruction is divided into five fields: label, microoperations, CD,
BR, and AD.
- A microinstruction format includes 20 bits in total. They are divided into four
elements as displayed in the figure.
-
F1, F2, F3 are the micro-operation fields. They determine micro-operations for
the computer.
- CD is the condition for branching. They choose the status bit conditions.
- BR is the branch field. It determines the type of branch.
- AD is the address field. It includes the address field whose length is 7 bits.
Micro programmed Control/Micro programmed control Unit:
- A control unit whose binary control values are saved as words in memory is
called a micro programmed control unit.
- The sets of control signals are generated specific micro-operations that can be
saved in the memory.
- Each bit that forms the microinstruction is linked to one control signal. When the
bit is set, the control signal is active. When it is cleared the control signal turns
inactive. These microinstructions in a sequence can be saved in the internal
’control’ memory.
- The control unit of a micro program-controlled computer is a computer inside a
computer.
- The following figure shows the block diagram of a Micro programmed Control
organization.
There are the following steps followed by the micro programmed control are −
It can execute any instruction. The CPU should divide it down into a set of
sequential operations. This set of operations are called microinstruction. The
sequential micro-operations need the control signals to execute.
Control signals saved in the ROM are created to execute the instructions on the
data direction. These control signals can control the micro-operations concerned
with a microinstruction that is to be performed at any time step.
The address of the microinstruction is executed next is generated.
The previous 2 steps are copied until all the microinstructions associated with the
instruction in the set are executed.
Advantages of Micro programmed Control Unit
There are the following advantages of micro programmed control are as follows −
Here, the control is accepted to be a Read-Only Memory (ROM), where all the control
information is stored permanently. ROM provides the address of the microinstruction.
The other register, that is, the control data register stores the microinstruction that is
read from the memory. It consists of a control word that holds one or more micro-
operations for the data processor.
The next address must be computed once this operation is completed. It is computed in
the next address generator. Then, it is sent to the control address register to be read.
- The next address generator is also known as the microprogram sequencer.
Based on the inputs to a sequencer, it determines the address of the next
microinstruction. The microinstructions can be specified in several ways.
The main functions of a micro program sequencer are as follows −
Address Sequencing
Each micro operation below is defined using resister transfer statements and is assigned a symbol
for use in symbolic micro program.
CD (condition) field consists of two bits representing 4 status bits and BR (branch) field (2-bits)
used together with address field AD, to choose the address of the next microinstruction.