Microprogrammed Control Unit, Lecture notes of Computer Vision

The concept of a microprogrammed control unit, which is a type of control unit where the binary control variables are stored in memory. It explains the key components of a microprogrammed control unit, such as the control memory, control address register, control data register, and the process of fetching and executing instructions using microinstructions. The document also provides details on conditional branching, the computer hardware configuration, and the symbolic and binary representation of the microprogram. This information can be useful for students studying computer architecture, digital logic design, and computer organization, as it provides a comprehensive understanding of the inner workings of a microprogrammed control unit.

Typology: Lecture notes

2022/2023

Uploaded on 01/29/2023

PavanpraneethaKunuku
PavanpraneethaKunuku šŸ‡®šŸ‡³

5 documents

1 / 68

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
WHY AM I TEACHING WHAT I AM TEACHING
COMPUTER ORGANIZATION
Contd....VNRVJIET: ECE : CO WIT & WIL
Unit 3
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44

Partial preview of the text

Download Microprogrammed Control Unit and more Lecture notes Computer Vision in PDF only on Docsity!

WHY AM I TEACHING WHAT I AM TEACHING COMPUTER ORGANIZATION VNRVJIET: ECE : CO WIT & WIL Contd.... Unit 3

Micro-programmed Control Unit

Unit-

Microprogrammed Control: Control memory, address sequencing, micro program example, and design of control unit, hardwired control, and micro programmed control.

Important Terms

  • (^) Hardwired Control Unit : 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 micro-programming 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 program: A sequence of microinstructions constitutes a micro-program. Since alterations of the microprogram are not needed once the control unit is in operation, the control memory can be a read-only memory (ROM). ROM words are made permanent during the hardware production of the unit. The use of a micro program involves placing all control variables in words of ROM for use by the control unit through successive read operations. The content of the word in ROM at a given address specifies a microinstruction.
  • (^) Microcode: Microinstructions can be saved by employing subroutines that use common sections of microcode. For example, the sequence of micro operations needed to generate the effective address of the operand for an instruction is common to all memory reference instructions. This sequence could be a subroutine that is called from within many other routines to execute the effective address computation.

Micro-programmed Control

  • (^) Control Memory
  • (^) Address Sequencing
  • (^) Micro-program Example
  • (^) Design of Control Unit

Figure: Computer Hardware Configuration MUX AR 10 0 PC 10 0 Address Memory 2048 x 16 MUX DR 15 0 Arithmetic logic and shift unit AC (^15 ) SBR 6 0 CAR 6 0 Control memory 128 x 20 Control unit (For Reference)

Control Unit for the basic computer I Instruction Register (IR) 15 14 13 12 11 - 0 3 x 8 decoder 7 6 5 4 3 2 1 0 Control logic gates D 0 15 14.... 2 1 0 4 x 16 Sequence decoder 4-bit sequence counter (SC) Increment (INR) Clear (CLR) Clock Other inputs Control outputs D T T 7 15 0 CU consists of:

  • Two decoders
  • A sequence counter
  • No. of control logic gates (For Reference)
  • (^) Micro programmed control unit
    • (^) A control unit whose binary control variables are stored in memory.
  • (^) Control memory can be a read-only memory (ROM)
  • (^) But Dynamic microprogramming (writable control memory) - (^) permits a microprogram to be loaded initially from an auxiliary memory such as a magnetic disk.
  • (^) A microprogrammed control unit have two separate memories: - (^) main memory - (^) control memory
  • (^) Main memory
    • (^) is available to the user for storing the programs.
    • (^) contents may alter when the data are manipulated
    • (^) user's program in it consists of machine instructions and data

TABLE: Symbolic Microprogram (Partial) (For Reference)

Microprogrammed control Organization

  • (^) Control Address Register
    • (^) specifies the address of the microinstruction
  • (^) Control Data Register
    • (^) holds the Microinstruction read from Memory
    • (^) Called as Pipeline Register.
  • (^) Next Address
    • (^) must be determined, after these operations are executed
    • (^) may also be a function of external input conditions Figure: Microprogrammed control organization
  • (^) System can operate without the control data

register by applying a single-phase clock to the

address register.

  • (^) Control word and next-address information are

taken directly from the control memory.

  • (^) ROM (Control Memory) operates as a

Combinational Circuit, with the address value as the

input and the corresponding word as the output.

  • (^) In the example, assume a single-phase clock,
    • (^) Only Address Register receives clock pulses
    • (^) So NO need to use a Control Data Register
    • (^) Sequencer and Control Memory do NOT need a clock as those are combinational circuits
  • (^) Main advantage of the micro-programmed control - (^) once the hardware configuration is established, there should be NO NEED for further HARDWARE or WIRING CHANGES. - (^) If we want to establish a different control sequence for the system, all we need to do is specify a DIFFERENT SET OF MICROINSTRUCTIONS (MICROPROGRAM) in control memory.