SlideShare une entreprise Scribd logo
1  sur  11
INSTRUCTION PIPELING
in TMS320C55x
VARUN K
varunkpa@gmail.com
Pipe line operation
• In computers, a pipeline is the continuous and
somewhat overlapped movement of instruction to
the processor
• Without a pipeline, a computer processor gets the
first instruction from memory, performs the
operation it calls for, and then goes to get the next
instruction from memory, and so forth.
• Improvement in 4 stage pipeline. One
instruction=0.25 clocks
Pipe line operation
• Fetch: Fetches the instruction from memory
and updates program counter.
• Decode:Decoding+address generation+ARAU
updates
• Read: Operand reading,ARUP:read the
memory location before the update of
previous decode
• Execute: Specific operation, write back
Pipe line operation
• ADD*+
• SAMM TREG0
• MPY*+
• SQRA *+,AR2
Pipe line operation
CYCLE PC FETCH DECODE READ EXECUTE
1 [SAMM] ADD
2 [MPY] SAMM ADD
3 [SQRA] MPY SAMM ADD
4 SQRA MPY SAMM ADD
5 SQRA MPY SAMM
6 SQRA MPY
7 SQRA
PIPELINE WITH BRANCH INSTRUCTIONS
• Branch instruction takes 2 cycles(no branch
occurs).1-to enter execute phase 2-fetching branch
address
• 4 cycles (when branching). 1-to enter execute phase
2-fetching branch address3,4-flushing the
unnecessary instructions.
• ZAP
• B pgm 1250H
• ADD*
• SACL *+
• MAC 4500H,25H
• Pgm 1250h: LACC*+
Pipe line operation
CYCLE PC FETCH DECODE READ EXECUTE
1 [B] ZAP
2 [1250H] B ZAP
3 [ADD*] 1250H B ZAP
4 [SACL*+] ADD* Dummy B ZAP
5 [LACC*+] SACL*+ Dummy Dummy B
6 LACC*+ Dummy Dummy Dummy
7 LACC*+ Dummy Dummy
8 LACC*+ Dummy
9
Pipeline with ARAU memory mapped
registers
• Auxiliary register arithmetic unit updates of ARs occurs
during the decode phase of the pipeline
• So AR update also happens in the decode phase
• (164h)=90h,(165h)=80h,(166h)=60h,(167h)=40h,(168h)=
30h
• LAR AR1,#167h
• LACC #164h
• SAMM AR1
• LACC *+
• ADD *+
Pipeline with ARAU memory mapped
registers
CYCLE PC FETCH DECODE READ EXECUTE
1 [LACC] LAR
2 [164h] LACC LAR
3 [SAMM] 164h LACC LAR
4 [LACC] SAMM Dummy LACC LAR
5 [ADD] LACC SAMM Dummy LACC
6 ADD LACC SAMM Dummy
7 ADD LACC SAMM
8 ADD LACC
9 ADD
Pipeline with ARAU memory mapped
registers
• We want to add [164h],[165h] and store the result in
ACC
• But [167h]+[168h] happens; LACC ==167h
• LACC=167h
• ADD=168h
• The problem is solved by introducing two NOP
instructions so that AR1 gets updated by executing
SAMM prior to LACC decode
THANK YOU

Contenu connexe

Tendances

Performance Enhancement with Pipelining
Performance Enhancement with PipeliningPerformance Enhancement with Pipelining
Performance Enhancement with PipeliningAneesh Raveendran
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazardAJAL A J
 
Pipelining
PipeliningPipelining
PipeliningAJAL A J
 
Concept of Pipelining
Concept of PipeliningConcept of Pipelining
Concept of PipeliningSHAKOOR AB
 
Ct213 processor design_pipelinehazard
Ct213 processor design_pipelinehazardCt213 processor design_pipelinehazard
Ct213 processor design_pipelinehazardrakeshrakesh2020
 
Pipelining, processors, risc and cisc
Pipelining, processors, risc and ciscPipelining, processors, risc and cisc
Pipelining, processors, risc and ciscMark Gibbs
 
Loop parallelization & pipelining
Loop parallelization & pipeliningLoop parallelization & pipelining
Loop parallelization & pipeliningjagrat123
 
Instruction pipelining
Instruction pipeliningInstruction pipelining
Instruction pipeliningTech_MX
 
INSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISMINSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISMKamran Ashraf
 
Chapter 04 the processor
Chapter 04   the processorChapter 04   the processor
Chapter 04 the processorBảo Hoang
 
Computer Organozation
Computer OrganozationComputer Organozation
Computer OrganozationAabha Tiwari
 
Pipelinig hazardous
Pipelinig hazardousPipelinig hazardous
Pipelinig hazardousjasscheema
 
Pipelining , structural hazards
Pipelining , structural hazardsPipelining , structural hazards
Pipelining , structural hazardsMunaam Munawar
 

Tendances (20)

Pipelining
PipeliningPipelining
Pipelining
 
pipelining
pipeliningpipelining
pipelining
 
Performance Enhancement with Pipelining
Performance Enhancement with PipeliningPerformance Enhancement with Pipelining
Performance Enhancement with Pipelining
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazard
 
3 Pipelining
3 Pipelining3 Pipelining
3 Pipelining
 
Pipeline
PipelinePipeline
Pipeline
 
Pipelining
PipeliningPipelining
Pipelining
 
Concept of Pipelining
Concept of PipeliningConcept of Pipelining
Concept of Pipelining
 
Ct213 processor design_pipelinehazard
Ct213 processor design_pipelinehazardCt213 processor design_pipelinehazard
Ct213 processor design_pipelinehazard
 
Pipelining, processors, risc and cisc
Pipelining, processors, risc and ciscPipelining, processors, risc and cisc
Pipelining, processors, risc and cisc
 
pipelining
pipeliningpipelining
pipelining
 
Loop parallelization & pipelining
Loop parallelization & pipeliningLoop parallelization & pipelining
Loop parallelization & pipelining
 
Pipelining
PipeliningPipelining
Pipelining
 
Instruction pipelining
Instruction pipeliningInstruction pipelining
Instruction pipelining
 
INSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISMINSTRUCTION LEVEL PARALLALISM
INSTRUCTION LEVEL PARALLALISM
 
Chapter 04 the processor
Chapter 04   the processorChapter 04   the processor
Chapter 04 the processor
 
Computer Organozation
Computer OrganozationComputer Organozation
Computer Organozation
 
Pipelinig hazardous
Pipelinig hazardousPipelinig hazardous
Pipelinig hazardous
 
pipelining
pipeliningpipelining
pipelining
 
Pipelining , structural hazards
Pipelining , structural hazardsPipelining , structural hazards
Pipelining , structural hazards
 

Similaire à INSTRUCTION PIPELING in TMS320C55x

CS304PC:Computer Organization and Architecture Session 33 demo 1 ppt.pdf
CS304PC:Computer Organization and Architecture  Session 33 demo 1 ppt.pdfCS304PC:Computer Organization and Architecture  Session 33 demo 1 ppt.pdf
CS304PC:Computer Organization and Architecture Session 33 demo 1 ppt.pdfAsst.prof M.Gokilavani
 
Parallel Processing Techniques Pipelining
Parallel Processing Techniques PipeliningParallel Processing Techniques Pipelining
Parallel Processing Techniques PipeliningRNShukla7
 
Computer_Architecture_3rd_Edition_by_Moris_Mano_Ch_09.ppt
Computer_Architecture_3rd_Edition_by_Moris_Mano_Ch_09.pptComputer_Architecture_3rd_Edition_by_Moris_Mano_Ch_09.ppt
Computer_Architecture_3rd_Edition_by_Moris_Mano_Ch_09.pptHermellaGashaw
 
Unit 3-pipelining & vector processing
Unit 3-pipelining & vector processingUnit 3-pipelining & vector processing
Unit 3-pipelining & vector processingvishal choudhary
 
Pipelining And Vector Processing
Pipelining And Vector ProcessingPipelining And Vector Processing
Pipelining And Vector ProcessingTheInnocentTuber
 
Pipelining of Processors Computer Architecture
Pipelining of  Processors Computer ArchitecturePipelining of  Processors Computer Architecture
Pipelining of Processors Computer ArchitectureHaris456
 
CMPN301-Pipelining_V2.pptx
CMPN301-Pipelining_V2.pptxCMPN301-Pipelining_V2.pptx
CMPN301-Pipelining_V2.pptxNadaAAmin
 
Routing basics/CEF
Routing basics/CEFRouting basics/CEF
Routing basics/CEFDmitry Figol
 
Data hazards ppt
Data hazards pptData hazards ppt
Data hazards pptMBalaji9
 
Ch8_CENTRAL PROCESSING UNIT Registers ALU
Ch8_CENTRAL PROCESSING UNIT Registers ALUCh8_CENTRAL PROCESSING UNIT Registers ALU
Ch8_CENTRAL PROCESSING UNIT Registers ALURNShukla7
 
Not bridge south bridge archexture
Not bridge  south bridge archextureNot bridge  south bridge archexture
Not bridge south bridge archexturesunil kumar
 
Linux BPF Superpowers
Linux BPF SuperpowersLinux BPF Superpowers
Linux BPF SuperpowersBrendan Gregg
 
Pipelining of Processors
Pipelining of ProcessorsPipelining of Processors
Pipelining of ProcessorsGaditek
 
UNIT 3 - General Purpose Processors
UNIT 3 - General Purpose ProcessorsUNIT 3 - General Purpose Processors
UNIT 3 - General Purpose ProcessorsButtaRajasekhar2
 
Basic computer organization and design
Basic computer organization and designBasic computer organization and design
Basic computer organization and designmahesh kumar prajapat
 

Similaire à INSTRUCTION PIPELING in TMS320C55x (20)

BTCS501_MM_Ch9.pptx
BTCS501_MM_Ch9.pptxBTCS501_MM_Ch9.pptx
BTCS501_MM_Ch9.pptx
 
CS304PC:Computer Organization and Architecture Session 33 demo 1 ppt.pdf
CS304PC:Computer Organization and Architecture  Session 33 demo 1 ppt.pdfCS304PC:Computer Organization and Architecture  Session 33 demo 1 ppt.pdf
CS304PC:Computer Organization and Architecture Session 33 demo 1 ppt.pdf
 
Parallel Processing Techniques Pipelining
Parallel Processing Techniques PipeliningParallel Processing Techniques Pipelining
Parallel Processing Techniques Pipelining
 
Computer_Architecture_3rd_Edition_by_Moris_Mano_Ch_09.ppt
Computer_Architecture_3rd_Edition_by_Moris_Mano_Ch_09.pptComputer_Architecture_3rd_Edition_by_Moris_Mano_Ch_09.ppt
Computer_Architecture_3rd_Edition_by_Moris_Mano_Ch_09.ppt
 
Unit 3-pipelining & vector processing
Unit 3-pipelining & vector processingUnit 3-pipelining & vector processing
Unit 3-pipelining & vector processing
 
Pipelining And Vector Processing
Pipelining And Vector ProcessingPipelining And Vector Processing
Pipelining And Vector Processing
 
Pipelining of Processors Computer Architecture
Pipelining of  Processors Computer ArchitecturePipelining of  Processors Computer Architecture
Pipelining of Processors Computer Architecture
 
CMPN301-Pipelining_V2.pptx
CMPN301-Pipelining_V2.pptxCMPN301-Pipelining_V2.pptx
CMPN301-Pipelining_V2.pptx
 
Routing basics/CEF
Routing basics/CEFRouting basics/CEF
Routing basics/CEF
 
Pipeline r014
Pipeline   r014Pipeline   r014
Pipeline r014
 
Basic non pipelined cpu architecture
Basic non pipelined cpu architectureBasic non pipelined cpu architecture
Basic non pipelined cpu architecture
 
Data hazards ppt
Data hazards pptData hazards ppt
Data hazards ppt
 
Ch8_CENTRAL PROCESSING UNIT Registers ALU
Ch8_CENTRAL PROCESSING UNIT Registers ALUCh8_CENTRAL PROCESSING UNIT Registers ALU
Ch8_CENTRAL PROCESSING UNIT Registers ALU
 
Not bridge south bridge archexture
Not bridge  south bridge archextureNot bridge  south bridge archexture
Not bridge south bridge archexture
 
Linux BPF Superpowers
Linux BPF SuperpowersLinux BPF Superpowers
Linux BPF Superpowers
 
Pipelining of Processors
Pipelining of ProcessorsPipelining of Processors
Pipelining of Processors
 
Pipelining slides
Pipelining slides Pipelining slides
Pipelining slides
 
Coa.ppt2
Coa.ppt2Coa.ppt2
Coa.ppt2
 
UNIT 3 - General Purpose Processors
UNIT 3 - General Purpose ProcessorsUNIT 3 - General Purpose Processors
UNIT 3 - General Purpose Processors
 
Basic computer organization and design
Basic computer organization and designBasic computer organization and design
Basic computer organization and design
 

Plus de Varun Kambrath

DESIGN ,ANALYSIS &COMPARISON OF VARIOUS CONTROLLERS FOR DC MOTOR SPEED CON...
DESIGN ,ANALYSIS &COMPARISON OF VARIOUS CONTROLLERS FOR DC  MOTOR  SPEED  CON...DESIGN ,ANALYSIS &COMPARISON OF VARIOUS CONTROLLERS FOR DC  MOTOR  SPEED  CON...
DESIGN ,ANALYSIS &COMPARISON OF VARIOUS CONTROLLERS FOR DC MOTOR SPEED CON...Varun Kambrath
 
DLP Projection systems
DLP Projection systemsDLP Projection systems
DLP Projection systemsVarun Kambrath
 
User Interactive Electronic Skin
User Interactive Electronic Skin User Interactive Electronic Skin
User Interactive Electronic Skin Varun Kambrath
 
USB Universal Serial Bus
USB Universal Serial BusUSB Universal Serial Bus
USB Universal Serial BusVarun Kambrath
 
FPGA IMPLIMENTATION OF UART CONTTROLLER
FPGA IMPLIMENTATION OF UART CONTTROLLERFPGA IMPLIMENTATION OF UART CONTTROLLER
FPGA IMPLIMENTATION OF UART CONTTROLLERVarun Kambrath
 
UAF 811 CARGO DOOR LOSS
UAF 811 CARGO DOOR LOSSUAF 811 CARGO DOOR LOSS
UAF 811 CARGO DOOR LOSSVarun Kambrath
 
REAL TIME MONITORING OF INDUSTRIAL ENVIRONMENT USING LABVIEW.
REAL TIME MONITORING OF INDUSTRIAL ENVIRONMENT USING LABVIEW.REAL TIME MONITORING OF INDUSTRIAL ENVIRONMENT USING LABVIEW.
REAL TIME MONITORING OF INDUSTRIAL ENVIRONMENT USING LABVIEW.Varun Kambrath
 

Plus de Varun Kambrath (8)

DESIGN ,ANALYSIS &COMPARISON OF VARIOUS CONTROLLERS FOR DC MOTOR SPEED CON...
DESIGN ,ANALYSIS &COMPARISON OF VARIOUS CONTROLLERS FOR DC  MOTOR  SPEED  CON...DESIGN ,ANALYSIS &COMPARISON OF VARIOUS CONTROLLERS FOR DC  MOTOR  SPEED  CON...
DESIGN ,ANALYSIS &COMPARISON OF VARIOUS CONTROLLERS FOR DC MOTOR SPEED CON...
 
DLP Projection systems
DLP Projection systemsDLP Projection systems
DLP Projection systems
 
User Interactive Electronic Skin
User Interactive Electronic Skin User Interactive Electronic Skin
User Interactive Electronic Skin
 
USB Universal Serial Bus
USB Universal Serial BusUSB Universal Serial Bus
USB Universal Serial Bus
 
FPGA IMPLIMENTATION OF UART CONTTROLLER
FPGA IMPLIMENTATION OF UART CONTTROLLERFPGA IMPLIMENTATION OF UART CONTTROLLER
FPGA IMPLIMENTATION OF UART CONTTROLLER
 
ARM_Thumb mode
ARM_Thumb modeARM_Thumb mode
ARM_Thumb mode
 
UAF 811 CARGO DOOR LOSS
UAF 811 CARGO DOOR LOSSUAF 811 CARGO DOOR LOSS
UAF 811 CARGO DOOR LOSS
 
REAL TIME MONITORING OF INDUSTRIAL ENVIRONMENT USING LABVIEW.
REAL TIME MONITORING OF INDUSTRIAL ENVIRONMENT USING LABVIEW.REAL TIME MONITORING OF INDUSTRIAL ENVIRONMENT USING LABVIEW.
REAL TIME MONITORING OF INDUSTRIAL ENVIRONMENT USING LABVIEW.
 

Dernier

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 

Dernier (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Pigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping ElbowsPigging Solutions Piggable Sweeping Elbows
Pigging Solutions Piggable Sweeping Elbows
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 

INSTRUCTION PIPELING in TMS320C55x

  • 2. Pipe line operation • In computers, a pipeline is the continuous and somewhat overlapped movement of instruction to the processor • Without a pipeline, a computer processor gets the first instruction from memory, performs the operation it calls for, and then goes to get the next instruction from memory, and so forth. • Improvement in 4 stage pipeline. One instruction=0.25 clocks
  • 3. Pipe line operation • Fetch: Fetches the instruction from memory and updates program counter. • Decode:Decoding+address generation+ARAU updates • Read: Operand reading,ARUP:read the memory location before the update of previous decode • Execute: Specific operation, write back
  • 4. Pipe line operation • ADD*+ • SAMM TREG0 • MPY*+ • SQRA *+,AR2
  • 5. Pipe line operation CYCLE PC FETCH DECODE READ EXECUTE 1 [SAMM] ADD 2 [MPY] SAMM ADD 3 [SQRA] MPY SAMM ADD 4 SQRA MPY SAMM ADD 5 SQRA MPY SAMM 6 SQRA MPY 7 SQRA
  • 6. PIPELINE WITH BRANCH INSTRUCTIONS • Branch instruction takes 2 cycles(no branch occurs).1-to enter execute phase 2-fetching branch address • 4 cycles (when branching). 1-to enter execute phase 2-fetching branch address3,4-flushing the unnecessary instructions. • ZAP • B pgm 1250H • ADD* • SACL *+ • MAC 4500H,25H • Pgm 1250h: LACC*+
  • 7. Pipe line operation CYCLE PC FETCH DECODE READ EXECUTE 1 [B] ZAP 2 [1250H] B ZAP 3 [ADD*] 1250H B ZAP 4 [SACL*+] ADD* Dummy B ZAP 5 [LACC*+] SACL*+ Dummy Dummy B 6 LACC*+ Dummy Dummy Dummy 7 LACC*+ Dummy Dummy 8 LACC*+ Dummy 9
  • 8. Pipeline with ARAU memory mapped registers • Auxiliary register arithmetic unit updates of ARs occurs during the decode phase of the pipeline • So AR update also happens in the decode phase • (164h)=90h,(165h)=80h,(166h)=60h,(167h)=40h,(168h)= 30h • LAR AR1,#167h • LACC #164h • SAMM AR1 • LACC *+ • ADD *+
  • 9. Pipeline with ARAU memory mapped registers CYCLE PC FETCH DECODE READ EXECUTE 1 [LACC] LAR 2 [164h] LACC LAR 3 [SAMM] 164h LACC LAR 4 [LACC] SAMM Dummy LACC LAR 5 [ADD] LACC SAMM Dummy LACC 6 ADD LACC SAMM Dummy 7 ADD LACC SAMM 8 ADD LACC 9 ADD
  • 10. Pipeline with ARAU memory mapped registers • We want to add [164h],[165h] and store the result in ACC • But [167h]+[168h] happens; LACC ==167h • LACC=167h • ADD=168h • The problem is solved by introducing two NOP instructions so that AR1 gets updated by executing SAMM prior to LACC decode