SlideShare a Scribd company logo
1 of 8
MICROCONTROLLER BASED SYSTEM DESIGN
“PIC16CXX PIPELINING”
V.KALAIRAJAN M.E;
ASSISTANT PROFESSOR,
ELECTRICALAND ELECTRONICS ENGINEERING
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY,TRICHY
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING 1
PIC16CXX PIPELINING
VIEWS:
 PIPELINE.
 PURPOSE OF PIPELINE.
 INSTRUCTION FLOW/PIPELINING.
 CONCLUSION.
 REFERENCES.
2KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
PIC16CXX PIPELINING
PIPELINE:
 In this second instruction is fetched when the first instruction
in decoding state. So time for execution is get reduced.
PURPOSE OF PIPELINE:
 “Pipeline” is used to increase the execution speed of the
processor or reduce the execution time of single instruction.
 The clock input (from OSC1) is internally divided by four to
generate four non-overlapping quadrature clocks namely Q1,
Q2, Q3, and Q4.
 Internally, the program counter (PC) is incremented every
Q1, the instruction is fetched from the program memory and
latched into the instruction register in Q4.
 The instruction is decoded and executed during the following
Q1 through Q4.
3KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
PIC16CXX PIPELINING
 The clock and instruction execution flow is shown in Figure.
4KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
PIC16CXX PIPELINING
INSTRUCTION FLOW/PIPELINING
 An “Instruction Cycle” consists of four Q cycles (Q1, Q2, Q3, and
Q4). The instruction fetch and execute are pipelined such that
fetch takes one instruction cycle while decode and execute takes
another instruction cycle.
 However, due to the pipelining, each instruction effectively
executes in one cycle.
 If an instruction causes the program counter to change (e.g.
GOTO) then two cycles are required to complete the instruction
5KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
PIC16CXX PIPELINING
INSTRUCTION FLOW/PIPELINING
6KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
PIC16CXX PIPELINING
 A fetch cycle begins with the program counter (PC) incrementing
in Q1. In the execution cycle, the fetched instruction is latched
into the “Instruction Register (IR)” in cycle Q1.
 This instruction is then decoded and executed during the Q2, Q3,
and Q4 cycles. Data memory is read during Q2 (operand read) and
written during Q4 (destination write).
7
KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
PIC16CXX PIPELINING
CONCLUSION:
 In this above presentation we can learn about basic concept of
Pipeline, purpose of pipeline, and instruction flow of pipeline
clearly.
REFERENCES:
 Mazidi, M.A.,“PIC Microcontroller” Rollin Mckinlay, Danny
causey Printice Hall of India, 2007.
 Ravichandran,C., and Arulaalan,M., “Microcontroller Based
System Design”, Suchitra Publications, Ist edition,2016.
 Dr.Balamurugan.C.R., Periyaazhagar., “Microcontroller Based
System Design”, Megnus Publications, Ist edition,2016.
 Online wikipedia search.
8KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING

More Related Content

Similar to Pipeline concepts of 16 c6x

wind based measurement and uncertainity using kalman filtering
wind based measurement and uncertainity using kalman filteringwind based measurement and uncertainity using kalman filtering
wind based measurement and uncertainity using kalman filteringPrasanna Nataraj
 
ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3Jeffrey Des Binwag
 
Design and implementation of modified clock generation
Design and implementation of modified clock generationDesign and implementation of modified clock generation
Design and implementation of modified clock generationeSAT Journals
 
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdfDesign_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdfssuser1e1bab
 
IRJET- Automatic Bottle Filling and Capping System using PLC
IRJET- Automatic Bottle Filling and Capping System using PLCIRJET- Automatic Bottle Filling and Capping System using PLC
IRJET- Automatic Bottle Filling and Capping System using PLCIRJET Journal
 
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELININGINCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELININGijiert bestjournal
 
AUTOMATIC BOTTLE FILLING
AUTOMATIC BOTTLE FILLING AUTOMATIC BOTTLE FILLING
AUTOMATIC BOTTLE FILLING rehaan ukaye
 
AUTOMATIC BOTTLE FILLING
AUTOMATIC BOTTLE FILLING AUTOMATIC BOTTLE FILLING
AUTOMATIC BOTTLE FILLING rehaan ukaye
 
INSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISMINSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISMKamran Ashraf
 
De-Inking Plant Final Tower Control using SIEMENS PLC(report
De-Inking Plant Final Tower Control using SIEMENS PLC(reportDe-Inking Plant Final Tower Control using SIEMENS PLC(report
De-Inking Plant Final Tower Control using SIEMENS PLC(reportabdullah s
 
PLC: Principios básicos del controlador lógico programable mediante el softwa...
PLC: Principios básicos del controlador lógico programable mediante el softwa...PLC: Principios básicos del controlador lógico programable mediante el softwa...
PLC: Principios básicos del controlador lógico programable mediante el softwa...SANTIAGO PABLO ALBERTO
 
Note 8 plc introduction
Note 8 plc introductionNote 8 plc introduction
Note 8 plc introductionSamir Salman
 
design of FPGA based traffic light controller system
design of FPGA based traffic light controller systemdesign of FPGA based traffic light controller system
design of FPGA based traffic light controller systemVinny Chweety
 
Microprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.pptMicroprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.pptTALHARIAZ46
 

Similar to Pipeline concepts of 16 c6x (20)

wind based measurement and uncertainity using kalman filtering
wind based measurement and uncertainity using kalman filteringwind based measurement and uncertainity using kalman filtering
wind based measurement and uncertainity using kalman filtering
 
ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3ECESLU Microprocessors Lecture 3
ECESLU Microprocessors Lecture 3
 
Design and implementation of modified clock generation
Design and implementation of modified clock generationDesign and implementation of modified clock generation
Design and implementation of modified clock generation
 
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdfDesign_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
Design_amp_analysis_of_16_bit_RISC_processor_using_low_power_pipelining.pdf
 
IRJET- Automatic Bottle Filling and Capping System using PLC
IRJET- Automatic Bottle Filling and Capping System using PLCIRJET- Automatic Bottle Filling and Capping System using PLC
IRJET- Automatic Bottle Filling and Capping System using PLC
 
PLC in Automation
PLC in AutomationPLC in Automation
PLC in Automation
 
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELININGINCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
 
AUTOMATIC BOTTLE FILLING
AUTOMATIC BOTTLE FILLING AUTOMATIC BOTTLE FILLING
AUTOMATIC BOTTLE FILLING
 
AUTOMATIC BOTTLE FILLING
AUTOMATIC BOTTLE FILLING AUTOMATIC BOTTLE FILLING
AUTOMATIC BOTTLE FILLING
 
I2C
I2CI2C
I2C
 
B0150711
B0150711B0150711
B0150711
 
INSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISMINSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISM
 
De-Inking Plant Final Tower Control using SIEMENS PLC(report
De-Inking Plant Final Tower Control using SIEMENS PLC(reportDe-Inking Plant Final Tower Control using SIEMENS PLC(report
De-Inking Plant Final Tower Control using SIEMENS PLC(report
 
PLC: Principios básicos del controlador lógico programable mediante el softwa...
PLC: Principios básicos del controlador lógico programable mediante el softwa...PLC: Principios básicos del controlador lógico programable mediante el softwa...
PLC: Principios básicos del controlador lógico programable mediante el softwa...
 
Note 8 plc introduction
Note 8 plc introductionNote 8 plc introduction
Note 8 plc introduction
 
Plc on cnc
Plc on cncPlc on cnc
Plc on cnc
 
Note_8_PLC_introduction.ppt
Note_8_PLC_introduction.pptNote_8_PLC_introduction.ppt
Note_8_PLC_introduction.ppt
 
design of FPGA based traffic light controller system
design of FPGA based traffic light controller systemdesign of FPGA based traffic light controller system
design of FPGA based traffic light controller system
 
PLC Programming
PLC ProgrammingPLC Programming
PLC Programming
 
Microprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.pptMicroprocessor and Microcontroller Based Systems.ppt
Microprocessor and Microcontroller Based Systems.ppt
 

More from v Kalairajan

Speed governig system derivation
Speed governig system derivationSpeed governig system derivation
Speed governig system derivationv Kalairajan
 
Protection schemes
Protection schemesProtection schemes
Protection schemesv Kalairajan
 
Methods of voltage control
Methods of voltage controlMethods of voltage control
Methods of voltage controlv Kalairajan
 
Load on power system
Load on power systemLoad on power system
Load on power systemv Kalairajan
 
Electric power system operation.
Electric power system operation.Electric power system operation.
Electric power system operation.v Kalairajan
 
Pic16cxx instruction set
Pic16cxx instruction setPic16cxx instruction set
Pic16cxx instruction setv Kalairajan
 
I2 c bus communication
I2 c bus communicationI2 c bus communication
I2 c bus communicationv Kalairajan
 
Arm programmer's model
Arm programmer's modelArm programmer's model
Arm programmer's modelv Kalairajan
 
Arm assembly language programming
Arm assembly language programmingArm assembly language programming
Arm assembly language programmingv Kalairajan
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6Xv Kalairajan
 
Economics of Generation
Economics of GenerationEconomics of Generation
Economics of Generationv Kalairajan
 

More from v Kalairajan (15)

Speed governig system derivation
Speed governig system derivationSpeed governig system derivation
Speed governig system derivation
 
Protection schemes
Protection schemesProtection schemes
Protection schemes
 
Methods of voltage control
Methods of voltage controlMethods of voltage control
Methods of voltage control
 
Load on power system
Load on power systemLoad on power system
Load on power system
 
Electric power system operation.
Electric power system operation.Electric power system operation.
Electric power system operation.
 
Timer 2 concept
Timer 2 conceptTimer 2 concept
Timer 2 concept
 
Timer 0 concept
Timer 0 conceptTimer 0 concept
Timer 0 concept
 
Pic16cxx instruction set
Pic16cxx instruction setPic16cxx instruction set
Pic16cxx instruction set
 
Interrupts in pic
Interrupts in picInterrupts in pic
Interrupts in pic
 
I2 c bus communication
I2 c bus communicationI2 c bus communication
I2 c bus communication
 
Arm programmer's model
Arm programmer's modelArm programmer's model
Arm programmer's model
 
Arm assembly language programming
Arm assembly language programmingArm assembly language programming
Arm assembly language programming
 
Arm architechture
Arm architechtureArm architechture
Arm architechture
 
Architecture of 16C6X
Architecture of 16C6XArchitecture of 16C6X
Architecture of 16C6X
 
Economics of Generation
Economics of GenerationEconomics of Generation
Economics of Generation
 

Recently uploaded

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxupamatechverse
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 

Recently uploaded (20)

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Introduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptxIntroduction to Multiple Access Protocol.pptx
Introduction to Multiple Access Protocol.pptx
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 

Pipeline concepts of 16 c6x

  • 1. MICROCONTROLLER BASED SYSTEM DESIGN “PIC16CXX PIPELINING” V.KALAIRAJAN M.E; ASSISTANT PROFESSOR, ELECTRICALAND ELECTRONICS ENGINEERING KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY,TRICHY KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING 1
  • 2. PIC16CXX PIPELINING VIEWS:  PIPELINE.  PURPOSE OF PIPELINE.  INSTRUCTION FLOW/PIPELINING.  CONCLUSION.  REFERENCES. 2KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
  • 3. PIC16CXX PIPELINING PIPELINE:  In this second instruction is fetched when the first instruction in decoding state. So time for execution is get reduced. PURPOSE OF PIPELINE:  “Pipeline” is used to increase the execution speed of the processor or reduce the execution time of single instruction.  The clock input (from OSC1) is internally divided by four to generate four non-overlapping quadrature clocks namely Q1, Q2, Q3, and Q4.  Internally, the program counter (PC) is incremented every Q1, the instruction is fetched from the program memory and latched into the instruction register in Q4.  The instruction is decoded and executed during the following Q1 through Q4. 3KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
  • 4. PIC16CXX PIPELINING  The clock and instruction execution flow is shown in Figure. 4KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
  • 5. PIC16CXX PIPELINING INSTRUCTION FLOW/PIPELINING  An “Instruction Cycle” consists of four Q cycles (Q1, Q2, Q3, and Q4). The instruction fetch and execute are pipelined such that fetch takes one instruction cycle while decode and execute takes another instruction cycle.  However, due to the pipelining, each instruction effectively executes in one cycle.  If an instruction causes the program counter to change (e.g. GOTO) then two cycles are required to complete the instruction 5KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
  • 6. PIC16CXX PIPELINING INSTRUCTION FLOW/PIPELINING 6KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
  • 7. PIC16CXX PIPELINING  A fetch cycle begins with the program counter (PC) incrementing in Q1. In the execution cycle, the fetched instruction is latched into the “Instruction Register (IR)” in cycle Q1.  This instruction is then decoded and executed during the Q2, Q3, and Q4 cycles. Data memory is read during Q2 (operand read) and written during Q4 (destination write). 7 KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING
  • 8. PIC16CXX PIPELINING CONCLUSION:  In this above presentation we can learn about basic concept of Pipeline, purpose of pipeline, and instruction flow of pipeline clearly. REFERENCES:  Mazidi, M.A.,“PIC Microcontroller” Rollin Mckinlay, Danny causey Printice Hall of India, 2007.  Ravichandran,C., and Arulaalan,M., “Microcontroller Based System Design”, Suchitra Publications, Ist edition,2016.  Dr.Balamurugan.C.R., Periyaazhagar., “Microcontroller Based System Design”, Megnus Publications, Ist edition,2016.  Online wikipedia search. 8KONGUNADU COLLEGE OF ENGINERING AND TECHNOLOGY, TRI11CHY PIC16CXX PIPELINING