SlideShare une entreprise Scribd logo
1  sur  20
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

Contenu connexe

Tendances

Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set ArchitectureDilum Bandara
 
Cache memory
Cache memoryCache memory
Cache memoryAnuj Modi
 
Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organizationGhanshyam Patel
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)Sandesh Jonchhe
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formatsMazin Alwaaly
 
Input output organization
Input output organizationInput output organization
Input output organizationabdulugc
 
8085 interfacing with memory chips
8085 interfacing with memory chips8085 interfacing with memory chips
8085 interfacing with memory chipsSrikrishna Thota
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and ArchitectureVinit Raut
 
Instruction Cycle in Computer Organization.pptx
Instruction Cycle in Computer Organization.pptxInstruction Cycle in Computer Organization.pptx
Instruction Cycle in Computer Organization.pptxYash346903
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationMOHIT AGARWAL
 
flag register of 8086
flag register of 8086flag register of 8086
flag register of 8086asrithak
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085ShivamSood22
 
Instruction sets of 8086
Instruction sets of 8086Instruction sets of 8086
Instruction sets of 8086Mahalakshmiv11
 
Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086Shehrevar Davierwala
 
Stack organization
Stack organizationStack organization
Stack organizationchauhankapil
 

Tendances (20)

Instruction Set Architecture
Instruction Set ArchitectureInstruction Set Architecture
Instruction Set Architecture
 
Cache memory
Cache memoryCache memory
Cache memory
 
Processor organization & register organization
Processor organization & register organizationProcessor organization & register organization
Processor organization & register organization
 
Memory organization (Computer architecture)
Memory organization (Computer architecture)Memory organization (Computer architecture)
Memory organization (Computer architecture)
 
Computer architecture instruction formats
Computer architecture instruction formatsComputer architecture instruction formats
Computer architecture instruction formats
 
Input output organization
Input output organizationInput output organization
Input output organization
 
8085 interfacing with memory chips
8085 interfacing with memory chips8085 interfacing with memory chips
8085 interfacing with memory chips
 
Interrupt
InterruptInterrupt
Interrupt
 
Basic Computer Organization and Design
Basic  Computer  Organization  and  DesignBasic  Computer  Organization  and  Design
Basic Computer Organization and Design
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
 
Instruction Cycle in Computer Organization.pptx
Instruction Cycle in Computer Organization.pptxInstruction Cycle in Computer Organization.pptx
Instruction Cycle in Computer Organization.pptx
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output Organization
 
flag register of 8086
flag register of 8086flag register of 8086
flag register of 8086
 
Addressing modes 8085
Addressing modes 8085Addressing modes 8085
Addressing modes 8085
 
Modes of data transfer
Modes of data transferModes of data transfer
Modes of data transfer
 
Instruction codes
Instruction codesInstruction codes
Instruction codes
 
Instruction sets of 8086
Instruction sets of 8086Instruction sets of 8086
Instruction sets of 8086
 
Interrupts
InterruptsInterrupts
Interrupts
 
Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086Assembly language programming_fundamentals 8086
Assembly language programming_fundamentals 8086
 
Stack organization
Stack organizationStack organization
Stack organization
 

Similaire à Microprogrammed Control Unit

chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnnchapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnnNineTo1
 
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 .pdfAsst.prof M.Gokilavani
 
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 controlShashank 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.pptxjbri1395
 
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 instructionChHusnainHassanI
 
Data transfer and manipulation
Data transfer and manipulationData transfer and manipulation
Data transfer and manipulationjanani thirupathi
 
Datatransferandmanipulation 180214044522
Datatransferandmanipulation 180214044522Datatransferandmanipulation 180214044522
Datatransferandmanipulation 180214044522kirupasuchi1996
 
Compuer organizaion processing unit
Compuer organizaion processing unitCompuer organizaion processing unit
Compuer organizaion processing unitDeepak 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 organizationJay Patel
 
Control unit design
Control unit designControl unit design
Control unit designDhaval Bagal
 

Similaire à 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
 
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
 
Controllers
ControllersControllers
Controllers
 

Dernier

COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxannathomasp01
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxPooja Bhuva
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 

Dernier (20)

COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

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