SlideShare a Scribd company logo
COMPUTER
ARCHITECTURE - I
PRESENTERS :
KAVINAYA S 17Z221
PREETHI S V 17Z231
SAMYUKTHA G 17Z238
SIVAKAMI N 17Z245
VARSHA DEVI K 17Z256
TEJASWINI SIVAKUMAR 17Z253
CONTROL UNIT
 Control unit generates timing and control signals for the operations of the
computer.
 It’s the part of the CPU that initiates sequences of microoperations.
 It tells the computer’s memory, arithmetic & logic unit and input/output
devices how to respond to a program’s instructions.
TYPES :
There are two methods to implement the control unit:
 Hardwired Control Unit (uses fixes instructions, combinational logic units
of AND/OR (logic gates), encoders, decoders, etc.)
 Microprogrammed Control Unit (the logic of the control unit is specified
by microprograms (consists of a sequence of instructions that specify
microoperations).
IMPORTANT TERMS
Control unit initiates a series of sequential steps of microoperations.
 CONTROL WORD :
- The control variables at any time are represented by 1’s and 0’s, known as
Control Word.
- Control words can be programmed to perform various operations.
 MICROPROGRAMMED CONTROL UNIT :
- A control unit whose binary control variables are stored in the memory is
called MICROPROGRAMMED CONTROL UNIT.
 MICROINSTRUCTIONS :
- Each word in the control memory contains microinstructions .
- It specifies one or more microoperations for the system.
MICROPROGRAM
 MICROPROGRAM :
- Sequence of microinstructions constitutes a microprogram.
- The microprogram controls the function of the CPU.
- Alterations in microprograms are not needed once the control unit is in
operation. The control memory can be read-only memory (ROM).
- The Contents of words in ROM are fixed and cannot be altered, since there is
no writing capacity in ROM.
 DYNAMIC MICROPROGRAMMING :
- microprogram is loaded initially from an auxiliary memory (secondary memory),
such as magnetic disk.
- employs a writable control memory which allows the user to change the
microprogram, though it is mostly used for reading.
TYPES OF MEMORY IN MPC
1. MAIN MEMORY
 The main memory is used for storing programs. The content of the main memory can be
altered when data is manipulated and each time the program is changed.
 Program in main memory contains machine instructions and data.
2. CONTROL MEMORY
 Memory that is a part of the control unit is called Control memory.
 Control memory holds microprograms that cannot be altered by the user. The
microprogram consists of microinstructions to execute register microoperations.
 Machine instruction initiates a series of microinstructions in the control memory.
 The microinstruction generates microoperations to fetch instructions from main memory, to
evaluate effective address, to execute the operations specified by instructions or to repeat
the cycle for the next instruction.
CONFIGURATION
The general configuration of microprogrammed control unit is
demonstrated as follows:
(ROM)
SEQUENCER AND PIPELINE
REGISTER
 SEQUENCER:
The next address generator is called a sequencer, as it determines the
address sequence that is read from the control memory.
 FUNCTIONS:
1. Incrementing the control register
2. Loading an address from control memory to CAR.
3. Loading an initial address
 PIPELINE REGISTER :
The control data register holds the present microinstruction while the next
address is computed and read from the memory. This data register is called
pipeline register.
 IMPORTANT ADVANTAGE OF MICROPROGRAMMED CONTROL :
No hardware or wiring changes is required.
SELECTION OF ADDRESS
FOR CONTROL MEMORY
ADDRESS SEQUENCING
 Micro instructions are stored in control memory in group with each group
specifying a routine.
 An initial address is loaded into the control address register when power is
turned on. The fetch routine may be sqenced by incrementing CAR. At
end of fetch routine instructions is in IR .
 The effective address computation routine in control memory can be
reached through branch micro instructions which is conditioned on status
mode bits of instructions.
 The micro operations steps to be generated in processor register depend
on opcode of instruction.
 Subroutine will require an external register for storing return address.
Return address cannot be stored in ROM because it has no writing
capability.
ADDRESS SEQUENCING
 The micro instructions in control memory contains a set of bits to initiate
micro operations in registers and other bits to specify method by which
next address is obtained.
 The diagram shows four different paths from which the CAR receives the
address.
 The incrementer increments the CAR content by one.
 Branching is achieved by specifying branch address in one of the fields of
micro instructions.
 Conditional branching is obtained by status bit in order to determine it's
condition.
 The return address for a sub routine is stored in special register (SBR)
whose value is then used when microprogram wishes to return from the
subroutine.
STEPS IN SELECTION OF ADDRESS
 CONDITIONAL BRANCHING
- branching from one routine to another depending on status bit
conditions
- status bits provide parameter information.
- information in status bits are tested and actions are initiated based on
their conditions:1or0
 UNCONDITIONAL BRANCH
- fix value of status bit to 1
 SUBROUTINES
- A set of common instructions that can be used in a program many
times
- Each time a subroutine is used in main program, a branch is made to
the beginning of subroutine
MAPPING OF INSTRUCTION
 Each computer instruction
has its own microprogram
 Routine stored in a given
location of the control
memory
 MAPPING :
- transformation from
instruction code bits to
microinstruction address in
control memory where routine is
located.
COMPUTER HARDWARE
CONFIGURATION
MICROPROGRAM
EXAMPLE:
 Two memory units: Main
memory, control memory.
- CONTROL MEMORY :
 4 registers are associated
with processor unit
(PC,AR,DR,AC)
 2 registers are associated
with the control unit
(CAR,SBR)
MICROINSTRUCTION CODE
FORMAT – 20 BITS
SYMBOLS & BINARY CODE – I
F1,F2,F3
SYMBOLS & BINARY CODE –
II
CD,BR
SYMBOLIC MICROPROGRAM
BINARY MICROPROGRAM
Microprogrammed Control Unit

More Related Content

What's hot

Instruction codes
Instruction codesInstruction codes
Instruction codes
pradeepa velmurugan
 
Hardwired control
Hardwired controlHardwired control
Hardwired control
Siddique Ibrahim
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
Kamal Acharya
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-busAnuj Modi
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference Instructions
Rabin BK
 
Instruction format
Instruction formatInstruction format
Instruction format
Sanjeev Patel
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
Sanjeev Patel
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control Unit
Kamal Acharya
 
Input output interface
Input output interfaceInput output interface
Input output interface
Christ University
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
CS_GDRCST
 
Microoperations
MicrooperationsMicrooperations
Microoperations
Rakesh Pillai
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
Kamal Acharya
 
Cache memory
Cache memoryCache memory
Cache memoryAnuj Modi
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
abdosaidgkv
 
Timing and control
Timing and controlTiming and control
Timing and control
chauhankapil
 
Computer instruction
Computer instructionComputer instruction
Computer instruction
Sanjeev Patel
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
Sanjeev Patel
 
Computer instructions
Computer instructionsComputer instructions
Computer instructionsAnuj Modi
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
Er Sangita Vishwakarma
 

What's hot (20)

Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
Hardwired control
Hardwired controlHardwired control
Hardwired control
 
Input Output Organization
Input Output OrganizationInput Output Organization
Input Output Organization
 
Registers and-common-bus
Registers and-common-busRegisters and-common-bus
Registers and-common-bus
 
Memory Reference Instructions
Memory Reference InstructionsMemory Reference Instructions
Memory Reference Instructions
 
Instruction format
Instruction formatInstruction format
Instruction format
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control Unit
 
Input output interface
Input output interfaceInput output interface
Input output interface
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
 
Microoperations
MicrooperationsMicrooperations
Microoperations
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Cache memory
Cache memoryCache memory
Cache memory
 
Control Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unitControl Units : Microprogrammed and Hardwired:control unit
Control Units : Microprogrammed and Hardwired:control unit
 
Timing and control
Timing and controlTiming and control
Timing and control
 
Computer instruction
Computer instructionComputer instruction
Computer instruction
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
 

Similar to Microprogrammed Control Unit

chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnnchapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
NineTo1
 
unit-3.pdf
unit-3.pdfunit-3.pdf
unit-3.pdf
Saurabh846965
 
Unit 2
Unit 2Unit 2
Unit 2
Unit 2Unit 2
Unit 3 CO.pptx
Unit 3 CO.pptxUnit 3 CO.pptx
Unit 3 CO.pptx
NeerajaBhukya
 
CS304PC:Computer Organization and Architecture UNIT II .pdf
CS304PC:Computer Organization and Architecture UNIT II .pdfCS304PC:Computer Organization and Architecture UNIT II .pdf
CS304PC:Computer Organization and Architecture UNIT II .pdf
Asst.prof M.Gokilavani
 
Control Memory.pptx
Control Memory.pptxControl Memory.pptx
CS304PC:Computer Organization and Architecture Session 7 Microprogrammed con...
CS304PC:Computer Organization and Architecture  Session 7 Microprogrammed con...CS304PC:Computer Organization and Architecture  Session 7 Microprogrammed con...
CS304PC:Computer Organization and Architecture Session 7 Microprogrammed con...
Asst.prof M.Gokilavani
 
Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed control
Shashank Singh
 
conrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptxconrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptx
jbri1395
 
assignment on control unit and control signal micro instruction
assignment on control unit and control signal micro instructionassignment on control unit and control signal micro instruction
assignment on control unit and control signal micro instruction
ChHusnainHassanI
 
COMPUTER SYSTEM ARCHITECTURE UNIT 3 FULL SLIDES
COMPUTER SYSTEM ARCHITECTURE UNIT 3 FULL SLIDESCOMPUTER SYSTEM ARCHITECTURE UNIT 3 FULL SLIDES
COMPUTER SYSTEM ARCHITECTURE UNIT 3 FULL SLIDES
ShahidSultan24
 
Addressing sequencing
Addressing sequencingAddressing sequencing
Addressing sequencing
rajshreemuthiah
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
janani thirupathi
 
Datatransferandmanipulation 180214044522
Datatransferandmanipulation 180214044522Datatransferandmanipulation 180214044522
Datatransferandmanipulation 180214044522
kirupasuchi1996
 
Control Memory
Control MemoryControl Memory
Control Memory
mahesh kumar prajapat
 
Compuer organizaion processing unit
Compuer organizaion processing unitCompuer organizaion processing unit
Compuer organizaion processing unit
Deepak John
 
3 4- computer organization and archietecture- COA- CO- Computer organization
3 4- computer organization and archietecture- COA- CO- Computer organization3 4- computer organization and archietecture- COA- CO- Computer organization
3 4- computer organization and archietecture- COA- CO- Computer organization
Jay Patel
 
Control unit design
Control unit designControl unit design
Control unit design
Dhaval Bagal
 

Similar to Microprogrammed Control Unit (20)

chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnnchapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
 
unit-3.pdf
unit-3.pdfunit-3.pdf
unit-3.pdf
 
Unit 2
Unit 2Unit 2
Unit 2
 
Unit 2
Unit 2Unit 2
Unit 2
 
Unit 3 CO.pptx
Unit 3 CO.pptxUnit 3 CO.pptx
Unit 3 CO.pptx
 
CS304PC:Computer Organization and Architecture UNIT II .pdf
CS304PC:Computer Organization and Architecture UNIT II .pdfCS304PC:Computer Organization and Architecture UNIT II .pdf
CS304PC:Computer Organization and Architecture UNIT II .pdf
 
Control Memory.pptx
Control Memory.pptxControl Memory.pptx
Control Memory.pptx
 
CS304PC:Computer Organization and Architecture Session 7 Microprogrammed con...
CS304PC:Computer Organization and Architecture  Session 7 Microprogrammed con...CS304PC:Computer Organization and Architecture  Session 7 Microprogrammed con...
CS304PC:Computer Organization and Architecture Session 7 Microprogrammed con...
 
Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed control
 
conrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptxconrol_Unit_part_of_computer_architecture.pptx
conrol_Unit_part_of_computer_architecture.pptx
 
assignment on control unit and control signal micro instruction
assignment on control unit and control signal micro instructionassignment on control unit and control signal micro instruction
assignment on control unit and control signal micro instruction
 
COMPUTER SYSTEM ARCHITECTURE UNIT 3 FULL SLIDES
COMPUTER SYSTEM ARCHITECTURE UNIT 3 FULL SLIDESCOMPUTER SYSTEM ARCHITECTURE UNIT 3 FULL SLIDES
COMPUTER SYSTEM ARCHITECTURE UNIT 3 FULL SLIDES
 
Addressing sequencing
Addressing sequencingAddressing sequencing
Addressing sequencing
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulation
 
Datatransferandmanipulation 180214044522
Datatransferandmanipulation 180214044522Datatransferandmanipulation 180214044522
Datatransferandmanipulation 180214044522
 
2.computer org.
2.computer org.2.computer org.
2.computer org.
 
Control Memory
Control MemoryControl Memory
Control Memory
 
Compuer organizaion processing unit
Compuer organizaion processing unitCompuer organizaion processing unit
Compuer organizaion processing unit
 
3 4- computer organization and archietecture- COA- CO- Computer organization
3 4- computer organization and archietecture- COA- CO- Computer organization3 4- computer organization and archietecture- COA- CO- Computer organization
3 4- computer organization and archietecture- COA- CO- Computer organization
 
Control unit design
Control unit designControl unit design
Control unit design
 

Recently uploaded

Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
GeoBlogs
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
AzmatAli747758
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
Jisc
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
TechSoup
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
Excellence Foundation for South Sudan
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
BhavyaRajput3
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
Celine George
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
PedroFerreira53928
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
Nguyen Thanh Tu Collection
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
bennyroshan06
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
beazzy04
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
GeoBlogs
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
Tamralipta Mahavidyalaya
 

Recently uploaded (20)

Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...Cambridge International AS  A Level Biology Coursebook - EBook (MaryFosbery J...
Cambridge International AS A Level Biology Coursebook - EBook (MaryFosbery J...
 
Supporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptxSupporting (UKRI) OA monographs at Salford.pptx
Supporting (UKRI) OA monographs at Salford.pptx
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
Introduction to Quality Improvement Essentials
Introduction to Quality Improvement EssentialsIntroduction to Quality Improvement Essentials
Introduction to Quality Improvement Essentials
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCECLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
CLASS 11 CBSE B.St Project AIDS TO TRADE - INSURANCE
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
Basic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumersBasic phrases for greeting and assisting costumers
Basic phrases for greeting and assisting costumers
 
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
GIÁO ÁN DẠY THÊM (KẾ HOẠCH BÀI BUỔI 2) - TIẾNG ANH 8 GLOBAL SUCCESS (2 CỘT) N...
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptxMARUTI SUZUKI- A Successful Joint Venture in India.pptx
MARUTI SUZUKI- A Successful Joint Venture in India.pptx
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345Sha'Carri Richardson Presentation 202345
Sha'Carri Richardson Presentation 202345
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
Home assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdfHome assignment II on Spectroscopy 2024 Answers.pdf
Home assignment II on Spectroscopy 2024 Answers.pdf
 

Microprogrammed Control Unit

  • 1. COMPUTER ARCHITECTURE - I PRESENTERS : KAVINAYA S 17Z221 PREETHI S V 17Z231 SAMYUKTHA G 17Z238 SIVAKAMI N 17Z245 VARSHA DEVI K 17Z256 TEJASWINI SIVAKUMAR 17Z253
  • 2. CONTROL UNIT  Control unit generates timing and control signals for the operations of the computer.  It’s the part of the CPU that initiates sequences of microoperations.  It tells the computer’s memory, arithmetic & logic unit and input/output devices how to respond to a program’s instructions. TYPES : There are two methods to implement the control unit:  Hardwired Control Unit (uses fixes instructions, combinational logic units of AND/OR (logic gates), encoders, decoders, etc.)  Microprogrammed Control Unit (the logic of the control unit is specified by microprograms (consists of a sequence of instructions that specify microoperations).
  • 3.
  • 4. IMPORTANT TERMS Control unit initiates a series of sequential steps of microoperations.  CONTROL WORD : - The control variables at any time are represented by 1’s and 0’s, known as Control Word. - Control words can be programmed to perform various operations.  MICROPROGRAMMED CONTROL UNIT : - A control unit whose binary control variables are stored in the memory is called MICROPROGRAMMED CONTROL UNIT.  MICROINSTRUCTIONS : - Each word in the control memory contains microinstructions . - It specifies one or more microoperations for the system.
  • 5. MICROPROGRAM  MICROPROGRAM : - Sequence of microinstructions constitutes a microprogram. - The microprogram controls the function of the CPU. - Alterations in microprograms are not needed once the control unit is in operation. The control memory can be read-only memory (ROM). - The Contents of words in ROM are fixed and cannot be altered, since there is no writing capacity in ROM.  DYNAMIC MICROPROGRAMMING : - microprogram is loaded initially from an auxiliary memory (secondary memory), such as magnetic disk. - employs a writable control memory which allows the user to change the microprogram, though it is mostly used for reading.
  • 6. TYPES OF MEMORY IN MPC 1. MAIN MEMORY  The main memory is used for storing programs. The content of the main memory can be altered when data is manipulated and each time the program is changed.  Program in main memory contains machine instructions and data. 2. CONTROL MEMORY  Memory that is a part of the control unit is called Control memory.  Control memory holds microprograms that cannot be altered by the user. The microprogram consists of microinstructions to execute register microoperations.  Machine instruction initiates a series of microinstructions in the control memory.  The microinstruction generates microoperations to fetch instructions from main memory, to evaluate effective address, to execute the operations specified by instructions or to repeat the cycle for the next instruction.
  • 7. CONFIGURATION The general configuration of microprogrammed control unit is demonstrated as follows: (ROM)
  • 8. SEQUENCER AND PIPELINE REGISTER  SEQUENCER: The next address generator is called a sequencer, as it determines the address sequence that is read from the control memory.  FUNCTIONS: 1. Incrementing the control register 2. Loading an address from control memory to CAR. 3. Loading an initial address  PIPELINE REGISTER : The control data register holds the present microinstruction while the next address is computed and read from the memory. This data register is called pipeline register.  IMPORTANT ADVANTAGE OF MICROPROGRAMMED CONTROL : No hardware or wiring changes is required.
  • 9. SELECTION OF ADDRESS FOR CONTROL MEMORY
  • 10. ADDRESS SEQUENCING  Micro instructions are stored in control memory in group with each group specifying a routine.  An initial address is loaded into the control address register when power is turned on. The fetch routine may be sqenced by incrementing CAR. At end of fetch routine instructions is in IR .  The effective address computation routine in control memory can be reached through branch micro instructions which is conditioned on status mode bits of instructions.  The micro operations steps to be generated in processor register depend on opcode of instruction.  Subroutine will require an external register for storing return address. Return address cannot be stored in ROM because it has no writing capability.
  • 11. ADDRESS SEQUENCING  The micro instructions in control memory contains a set of bits to initiate micro operations in registers and other bits to specify method by which next address is obtained.  The diagram shows four different paths from which the CAR receives the address.  The incrementer increments the CAR content by one.  Branching is achieved by specifying branch address in one of the fields of micro instructions.  Conditional branching is obtained by status bit in order to determine it's condition.  The return address for a sub routine is stored in special register (SBR) whose value is then used when microprogram wishes to return from the subroutine.
  • 12. STEPS IN SELECTION OF ADDRESS  CONDITIONAL BRANCHING - branching from one routine to another depending on status bit conditions - status bits provide parameter information. - information in status bits are tested and actions are initiated based on their conditions:1or0  UNCONDITIONAL BRANCH - fix value of status bit to 1  SUBROUTINES - A set of common instructions that can be used in a program many times - Each time a subroutine is used in main program, a branch is made to the beginning of subroutine
  • 13. MAPPING OF INSTRUCTION  Each computer instruction has its own microprogram  Routine stored in a given location of the control memory  MAPPING : - transformation from instruction code bits to microinstruction address in control memory where routine is located.
  • 14. COMPUTER HARDWARE CONFIGURATION MICROPROGRAM EXAMPLE:  Two memory units: Main memory, control memory. - CONTROL MEMORY :  4 registers are associated with processor unit (PC,AR,DR,AC)  2 registers are associated with the control unit (CAR,SBR)
  • 16. SYMBOLS & BINARY CODE – I F1,F2,F3
  • 17. SYMBOLS & BINARY CODE – II CD,BR