Control Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) PDF Download

Control Memory

  • The function of the control unit in a digital computer is to initiate sequences of microoperations.
  • When the control signals are generated by hardware using conventional logic design techniques, the control unit is said to be hardwired.
  • Microprogramming is a second alternative for designing the control unit of a digital computer.
    • The principle of microprogramming is an elegant and systematic method for controlling the microoperation sequences in a digital computer.
  • In a bus-organized systems, the control signals that specify microoperations are groups of bits that select the paths in multiplexers, decoders, and arithmetic logic units.
  • A control unit whose binary control variables are stored in memory is called a microprogrammed control unit.
  • A memory that is part of a control unit is referred to as a control memory.
    • Each word in control memory contains within it a microinstruction.
    • A sequence of microinstructions constitutes a microprogram.\
    • Can be either read-only memory(ROM) or writable control memory (dynamic microprogramming)
  • A computer that employs a microprogrammed control unit will have two separate memories:
    • A main memory
    • A control memory
  • The general configuration of a microprogrammed control unit is demonstrated in the block diagram of Fig. 3.1.
    • The control memory is assumed to be a ROM, within which all control information is permanently stored.
    • The control address register specifies the address of the microinstruction.
    • The control data register holds the microinstruction read from memory.
  • Thus a microinstruction contains bits for initiating microoperations in the data processor part and bits that determine the address sequence for the control memory.

Question for Control Memory
Try yourself:What is the function of a microprogrammed control unit in a digital computer?
View Solution

Extra Stuff:

Microprogram

  • Program stored in memory that generates all the control signals required to execute the instruction set correctly
  • Consists of microinstructions

Microinstruction

  • Contains a control word and a sequencing word
    • Control Word - All the control information required for one clock cycle
    • Sequencing Word - Information needed to decide the next microinstruction address
  • Vocabulary to write a microprogram 

Control Memory (Control Storage: CS)

  • Storage in the microprogrammed control unit to store the microprogram

Writeable Control Memory(Writeable Control Storage:WCS)

  • CS whose contents can be modified
    • Allows the microprogram can be changed
    • Instruction set can be changed or modified

 Dynamic Microprogramming

  • Computer system whose control unit is implemented with a microprogram in WCS
  • Microprogram can be changed by a systems programmer or a user  

Microrogrammed Sequencer

  • The next address generator is sometimes called a microprogram sequencer, as it determines the address sequence that is read from control memory.
  • Typical functions of a microprogram sequencer are:
    • Incrementing the control address register by one
    • Loading into the control address register an address from control memory
    • Transferring an external address
    • Loading an initial address to start the control operations

Pipeline Register

  • The data register is sometimes called a pipeline register.
    • It allows the execution of the microoperations specified by the control word simultaneously with the generation of the next microinstruction.
      • This configuration requires a two-phase clock
    • The system can operate by applying a single-phase clock to the address register.
      • Without the control data register
      • Thus, the control word and next-address information are taken directly from the control memory.

Advantages

  • The main advantage of the microprogrammed control is the fact that once the hardware configuration is established; there should be no need for further hardware or wiring change.
  • Most computers based on the reduced instruction set computer (RISC) architecture concept use hardwired control rather than a control memory with a microprogram. (Why?)

Question for Control Memory
Try yourself:What is the main advantage of microprogrammed control?
View Solution

A Microprogram Control Unit that determines the Microinstruction Address to be executed in the next clock cycle

  • In-line Sequencing
  • Branch
  • Conditional Branch
  • Subroutine
  • Loop
  • Instruction OP-code mapping

Control Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

The document Control Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Computer Architecture & Organisation (CAO).
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
20 videos|86 docs|48 tests

Top Courses for Computer Science Engineering (CSE)

FAQs on Control Memory - Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

1. What is control memory in computer architecture?
Ans. Control memory is a type of memory in computer architecture that contains instructions for controlling the operations of a central processing unit (CPU). It stores the microcode that is used by the CPU to execute instructions and perform various tasks.
2. How does control memory work?
Ans. Control memory works by storing microcode instructions that translate machine instructions into signals that can be executed by the CPU. When a program is executed, the CPU fetches instructions from main memory and uses the microcode stored in control memory to execute those instructions.
3. What is the difference between control memory and main memory?
Ans. Control memory is a specialized type of memory that is used to store microcode instructions for the CPU, while main memory is the primary storage area for programs and data. Control memory is typically much smaller than main memory and is optimized for fast access and low latency.
4. Why is control memory important in computer architecture?
Ans. Control memory is important in computer architecture because it enables the CPU to execute instructions and perform tasks efficiently and accurately. By storing microcode instructions in control memory, the CPU can quickly and reliably translate machine instructions into signals that can be executed, which improves performance and reduces errors.
5. What are some common applications of control memory?
Ans. Control memory is used in a variety of computing applications, including microcontrollers, embedded systems, and digital signal processors. It is also used in high-performance computing applications, such as supercomputers and data centers, to optimize CPU performance and reduce latency.
20 videos|86 docs|48 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

ppt

,

study material

,

Exam

,

Extra Questions

,

Objective type Questions

,

mock tests for examination

,

shortcuts and tricks

,

Summary

,

practice quizzes

,

pdf

,

Important questions

,

Free

,

Control Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

MCQs

,

Previous Year Questions with Solutions

,

Viva Questions

,

Control Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

Semester Notes

,

Sample Paper

,

video lectures

,

Control Memory | Computer Architecture & Organisation (CAO) - Computer Science Engineering (CSE)

,

past year papers

;