SlideShare une entreprise Scribd logo
1  sur  5
Control Unit 1 Lecture 20
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Overview
 Control Memory
 Comparison of Implementations
Sequencing Microinstructions
Design of Control Unit
 Address Sequencer
Basic Computer Orgsnization and Design 2 Lecture 20
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Control Unit
 Control unit (CU) of a processor translates from machine
instructions to the control signals for the microoperations
that implement them
 Control units are implemented in one of two ways
Hardwired Control
CU is made up of sequential and combinational circuits to generate
the control signals
Microprogrammed Control
A control memory on the processor contains microprograms that
activate the necessary control signals
Control Unit 3 Lecture 20
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Control Unit Implementations
Combinational Logic Circuits (Hard-wired)
Microprogram
I R Status F/Fs
Control Data
Combinational
Logic Circuits
Control
Points
CPU
Memory
Timing State
Ins. Cycle State
Control Unit's State
Status F/Fs
Control Data
Next Address
Generation
Logic
C
S
A
R
Control
Storage
(-program
memory)
M
e
m
o
r
y
I R
C
S
D
R
C
P
s
CPUD
}
Control Unit 4 Lecture 20
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Terminology
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
Control Unit 5 Lecture 20
CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT
Terminology
Sequencer (Microprogram Sequencer)
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

Contenu connexe

Tendances

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 unitabdosaidgkv
 
MicroProgrammed Explained .
MicroProgrammed Explained .MicroProgrammed Explained .
MicroProgrammed Explained .Muhammad Umar
 
basic computer programming and micro programmed control
basic computer programming and micro programmed controlbasic computer programming and micro programmed control
basic computer programming and micro programmed controlRai University
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle pptsheetal singh
 
17 micro programmed control
17 micro programmed control17 micro programmed control
17 micro programmed controldilip kumar
 
Computer architecture
Computer architectureComputer architecture
Computer architectureneclinux
 
Unit2 control unit
Unit2 control unitUnit2 control unit
Unit2 control unitAshim Saha
 
Instruction set and instruction execution cycle
Instruction set and instruction execution cycleInstruction set and instruction execution cycle
Instruction set and instruction execution cycleMkaur01
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycleKumar
 
Timing and control unit
Timing and control unitTiming and control unit
Timing and control unitDestro Destro
 

Tendances (20)

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
 
Micro programmed control
Micro programmed controlMicro programmed control
Micro programmed control
 
MicroProgrammed Explained .
MicroProgrammed Explained .MicroProgrammed Explained .
MicroProgrammed Explained .
 
Lecture 38
Lecture 38Lecture 38
Lecture 38
 
basic computer programming and micro programmed control
basic computer programming and micro programmed controlbasic computer programming and micro programmed control
basic computer programming and micro programmed control
 
Program control
Program controlProgram control
Program control
 
instruction cycle ppt
instruction cycle pptinstruction cycle ppt
instruction cycle ppt
 
Lecture 28
Lecture 28Lecture 28
Lecture 28
 
Lecture 46
Lecture 46Lecture 46
Lecture 46
 
Lecture 34
Lecture 34Lecture 34
Lecture 34
 
17 micro programmed control
17 micro programmed control17 micro programmed control
17 micro programmed control
 
Lecture 36
Lecture 36Lecture 36
Lecture 36
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
Lecture 21
Lecture 21Lecture 21
Lecture 21
 
Addressing sequencing
Addressing sequencingAddressing sequencing
Addressing sequencing
 
Unit2 control unit
Unit2 control unitUnit2 control unit
Unit2 control unit
 
Control unit
Control unitControl unit
Control unit
 
Instruction set and instruction execution cycle
Instruction set and instruction execution cycleInstruction set and instruction execution cycle
Instruction set and instruction execution cycle
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
Timing and control unit
Timing and control unitTiming and control unit
Timing and control unit
 

En vedette

Ch7 official=computer organization and archietectur- CO-COA
Ch7 official=computer organization and archietectur- CO-COACh7 official=computer organization and archietectur- CO-COA
Ch7 official=computer organization and archietectur- CO-COAJay Patel
 
Stereotypes of Asians in the U.S. and Blacks in Japan
Stereotypes of Asians in the U.S. and Blacks in JapanStereotypes of Asians in the U.S. and Blacks in Japan
Stereotypes of Asians in the U.S. and Blacks in JapanSteve Silver
 
Alternative Lifestyles
Alternative LifestylesAlternative Lifestyles
Alternative LifestylesSophiiaZ
 
Alternative lifesyles
Alternative lifesylesAlternative lifesyles
Alternative lifesylesribenaberry
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network LayerManoj Kumar
 
Optical mouse working principle
Optical mouse working principleOptical mouse working principle
Optical mouse working principleanasibrahim2011411
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control UnitKamal Acharya
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networksguesta81d4b
 

En vedette (20)

Ch7 official=computer organization and archietectur- CO-COA
Ch7 official=computer organization and archietectur- CO-COACh7 official=computer organization and archietectur- CO-COA
Ch7 official=computer organization and archietectur- CO-COA
 
Lecture 19
Lecture 19Lecture 19
Lecture 19
 
Lecture 5
Lecture 5Lecture 5
Lecture 5
 
Lecture 25
Lecture 25Lecture 25
Lecture 25
 
Lecture 27
Lecture 27Lecture 27
Lecture 27
 
Stereotypes of Asians in the U.S. and Blacks in Japan
Stereotypes of Asians in the U.S. and Blacks in JapanStereotypes of Asians in the U.S. and Blacks in Japan
Stereotypes of Asians in the U.S. and Blacks in Japan
 
Lecture 26
Lecture 26Lecture 26
Lecture 26
 
Lecture 24
Lecture 24Lecture 24
Lecture 24
 
Lecture 22
Lecture 22Lecture 22
Lecture 22
 
Alternative Lifestyles
Alternative LifestylesAlternative Lifestyles
Alternative Lifestyles
 
Lecture 40
Lecture 40Lecture 40
Lecture 40
 
Lecture 23
Lecture 23Lecture 23
Lecture 23
 
Lecture 41
Lecture 41Lecture 41
Lecture 41
 
Alternative lifesyles
Alternative lifesylesAlternative lifesyles
Alternative lifesyles
 
Lecture 47
Lecture 47Lecture 47
Lecture 47
 
Computer Network - Network Layer
Computer Network - Network LayerComputer Network - Network Layer
Computer Network - Network Layer
 
Optical mouse working principle
Optical mouse working principleOptical mouse working principle
Optical mouse working principle
 
Network Layer
Network LayerNetwork Layer
Network Layer
 
Micro Programmed Control Unit
Micro Programmed Control UnitMicro Programmed Control Unit
Micro Programmed Control Unit
 
Network Layer,Computer Networks
Network Layer,Computer NetworksNetwork Layer,Computer Networks
Network Layer,Computer Networks
 

Similaire à Control Unit Lecture 20: Hardwired vs Microprogrammed Implementations

Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed controlShashank Singh
 
computer Ariciteacture and orgnization
computer Ariciteacture and orgnization computer Ariciteacture and orgnization
computer Ariciteacture and orgnization Abhishek Chambhare
 
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
 
Basic Concepts of Control (Digital Logic Fundamentals)
Basic Concepts of Control (Digital Logic Fundamentals)Basic Concepts of Control (Digital Logic Fundamentals)
Basic Concepts of Control (Digital Logic Fundamentals)RuchitaMaaran
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unitAnuj Modi
 
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
 
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnnchapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnnNineTo1
 
controlunit1a024a025-140520095202-phpapp01.pptx
controlunit1a024a025-140520095202-phpapp01.pptxcontrolunit1a024a025-140520095202-phpapp01.pptx
controlunit1a024a025-140520095202-phpapp01.pptxssuser3b0320
 

Similaire à Control Unit Lecture 20: Hardwired vs Microprogrammed Implementations (20)

Lecture 14
Lecture 14Lecture 14
Lecture 14
 
Thesis1 3-23
Thesis1 3-23Thesis1 3-23
Thesis1 3-23
 
Unit 3 CO.pptx
Unit 3 CO.pptxUnit 3 CO.pptx
Unit 3 CO.pptx
 
Micro programmed control
Micro programmed  controlMicro programmed  control
Micro programmed control
 
Dp&co
Dp&coDp&co
Dp&co
 
computer Ariciteacture and orgnization
computer Ariciteacture and orgnization computer Ariciteacture and orgnization
computer Ariciteacture and orgnization
 
4876238.ppt
4876238.ppt4876238.ppt
4876238.ppt
 
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...
 
Basic Concepts of Control (Digital Logic Fundamentals)
Basic Concepts of Control (Digital Logic Fundamentals)Basic Concepts of Control (Digital Logic Fundamentals)
Basic Concepts of Control (Digital Logic Fundamentals)
 
Timing and-control-unit
Timing and-control-unitTiming and-control-unit
Timing and-control-unit
 
unit-3.pdf
unit-3.pdfunit-3.pdf
unit-3.pdf
 
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
 
Unit 2
Unit 2Unit 2
Unit 2
 
Unit 2
Unit 2Unit 2
Unit 2
 
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnnchapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
chapter3_CA.pptt nnnnnnnnnnnnnnnnnnnnnnn
 
Psoc
PsocPsoc
Psoc
 
controlunit1a024a025-140520095202-phpapp01.pptx
controlunit1a024a025-140520095202-phpapp01.pptxcontrolunit1a024a025-140520095202-phpapp01.pptx
controlunit1a024a025-140520095202-phpapp01.pptx
 
Training report
Training reportTraining report
Training report
 
Control Unit (CU)
Control Unit (CU)Control Unit (CU)
Control Unit (CU)
 

Plus de RahulRathi94 (12)

Lecture 44
Lecture 44Lecture 44
Lecture 44
 
Lecture 43
Lecture 43Lecture 43
Lecture 43
 
Lecture 42
Lecture 42Lecture 42
Lecture 42
 
Lecture 37
Lecture 37Lecture 37
Lecture 37
 
Lecture 35
Lecture 35Lecture 35
Lecture 35
 
Lecture 18
Lecture 18Lecture 18
Lecture 18
 
Lecture 17
Lecture 17Lecture 17
Lecture 17
 
Lecture 16
Lecture 16Lecture 16
Lecture 16
 
Lecture 15
Lecture 15Lecture 15
Lecture 15
 
Lecture 13
Lecture 13Lecture 13
Lecture 13
 
Lecture 12
Lecture 12Lecture 12
Lecture 12
 
Lecture 11
Lecture 11Lecture 11
Lecture 11
 

Dernier

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 

Dernier (20)

WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 

Control Unit Lecture 20: Hardwired vs Microprogrammed Implementations

  • 1. Control Unit 1 Lecture 20 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Overview  Control Memory  Comparison of Implementations Sequencing Microinstructions Design of Control Unit  Address Sequencer
  • 2. Basic Computer Orgsnization and Design 2 Lecture 20 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Control Unit  Control unit (CU) of a processor translates from machine instructions to the control signals for the microoperations that implement them  Control units are implemented in one of two ways Hardwired Control CU is made up of sequential and combinational circuits to generate the control signals Microprogrammed Control A control memory on the processor contains microprograms that activate the necessary control signals
  • 3. Control Unit 3 Lecture 20 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Control Unit Implementations Combinational Logic Circuits (Hard-wired) Microprogram I R Status F/Fs Control Data Combinational Logic Circuits Control Points CPU Memory Timing State Ins. Cycle State Control Unit's State Status F/Fs Control Data Next Address Generation Logic C S A R Control Storage (-program memory) M e m o r y I R C S D R C P s CPUD }
  • 4. Control Unit 4 Lecture 20 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Terminology 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
  • 5. Control Unit 5 Lecture 20 CSE 211, Computer Organization and Architecture Harjeet Kaur, CSE/IT Terminology Sequencer (Microprogram Sequencer) 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