SlideShare a Scribd company logo
INTHENAMEOF ALLAH
ROSEN QUEEN`S
IQRA IRSHAD
MAHEEN ARIF
EMAN NOOR
UQBA NISAR
MARYAM SHEHZAD
ZOHA AMIR
33
01
47
19
28
06
INSTRUCTIONS PIPELINE
 An instruction pipeline is a technique used in design of
computers to increase their instruction throughput (number of
instructions executed per unit time)
 In instruction pipeline a stream of instructions can be executed
in an overlapping manner.
 Instruction pipelining is used to achive instructions level
parallism within a single processor.
 In instructions pipelining these steps of many instruction can be
carried out simultaneously in an overlapped manner to reduced the
overall execution time.
 If pipeline made up of more stages then we get more throughput of
time CPU.
INSTRUCTION PIPELINE
 Insruction
fetch
 Decode
instruction
 Operand
fetch
 Execute and
wite back the
result
 Instruction fetch
 Decode
instruction
 Operand fetch
 Execute
 Write back
 Instruction fetch
 Decode
instruction
 Calculate
effecting of
operands
 Fetch operand
 Execute
 Write back
SIX STAGES OF INSTRUCTION
PIPELINE
If the instrution processing is split into six phases the instruction
pipeline will how six different for the execution of these phases
STAGES:
S1 – Fetch instruction
S2 – Decode instruction
S3 – Calculate operand
S4 – Fetch operand
S5 – Execute instructions
S6 – Write back
1. Fetch instruction:
Instructions are fetched from the memory into a temporary buffer
before it gets executed.
2. Decode instruction:
Instruction is decoded by the CPU so that he necessary op codes
(operation) and operands can be determined.
3. Calculate effective address:
In this stage based on the addressing scheme used either operands
are directly provided in the instructions or the effective adress has to
be calculated.
5. Execute instructions:
In this stage execution of instruction takes place.
6. Write back:
In this stage the result from the execution of instruction shared or
written back in the memory or register.
F I D I C O F O E I W B
4. Fetch operand:
In this stage operands are fetched from the adress calculated in
stage 3.
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
TYPES OF PIPELINE DELAY
The pipeline delay is of two types which are discribed as follows:
1. UNIFORM DELAY PIPELINE:
All the stages in a uniform delay pipeline will complete their
operations by taking the same time. The cycle time in this
pipeline is discribed as follows:
CYCLE TIME (TP) = STAGE DELAY
If there are buffers between the stages, then the cycle time will
be discribed as follows:
CYCLE TIME (TP) = STAGE DELAY + BUFFER DELAY
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
2.NON UNIFORM DELAY PIPELINE:
All the stages in a non uniform delay pipeline will complete their
operations by taking different times. The cycle time in this
pipeline is discribed as follows:
CYCLE TIME (TP) = MAXIMUM (STAGE DELAY)
FOR EXAMPLE:
Suppose we have foue stages which contain stage delay as 1 ns, 2
ns, 3ns, and 4 ns. In this case the cycle time will be:
TP = MAXIMUM (1ns, 2ns, 3ns, 4ns) =4ns
If there are buffers between the stages then the cycle time will be
discribed as follows:
CYCLE TIME (TP) = MAXIMUM (STAGE DELAY + BUFFER)
Frequency:
The number of waves or vibrations that passes in one unit of time.
Formula:
f=1/T
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
ADVANTAGES OF PIPELININIG
• Instruction throughput increases.
• Increase in the number of pipeline stages increase the
number of instructions executed simultaneously.
• Faster ALU can be designed when pipelining is used.
• Pipelining increases the overall performance of the
CPU.
DISADVANTAGES OF PIPELINING
• Designing of the pipelined processor is complex.
• Instructions latency increases in pipelined
processors.
• The throughput of a pipelined processor is difficult
to predict.
• The longer the pipeline, worse the problem of hazard
for branch instructions.
NAME
MAHEEN ARIF
ROLL NO;
01
SUBJECT
COMPUTER ORGANIZATION AND
DESIGN
TOPIC
DIFFERENCE BETWEEN PIPELINE
AND NON PIPELINE
Pipeline VS Non Pipeline
Pipeline Non pipeline
Many instructions are
executed at the same
time.
Only one instruction is
executed at the same
time.
Execution time is
comparatively less.
Execution takes more
time.
Less and execution is
done in a fewer cycle.
More numbers of cycles
comparatively
Low user response time. High user response time.
Decrease the
performance of C.P.U.
Increase the performance
of C.P.U.
IF IF IF
ID ID ID
IE IE IE
WB WB WB
Stage
1
Stage
2
Stage
3
Stage
4
1 2 3 4 5 6 7 8
PIPELINE
NON PIPELINE
IF IF IF
ID ID ID
IE IE IE
WB WB WB
Stage
1
Stage
2
Stage
3
Stage
4
1 2 3 4 5 6 7 8 9 10 11 12
Example of pipelining
F F F
T T T
P P P
10 20 30 40 50 60 70 80 90 10
0
Stage 1
Stage 2
Stage 3
Circle
cycle
F=Cycle frame, T=Cycle tyre, P=Paint
Example of nonpipelining
F F F
T T T
P P P
10 20 30 40 50 60 70 80 90 10
0
Stage 1
Stage 2
Stage 3
Circle
Cycle
INSTRUCTION SET
Instruction set:
A set of instructions that a CPU can perform is called instruction
set.
• Different types of CPU can execute different types of instruction
sets.
• Modern CPU can execute 80 to 120 instruction.
Types of instruction:
• Data transfer instructions Arithmatic and logical
instructions
• I/O instruction Control transfer instruction
 Data transfer instructions:
The instructions used to transfer data from one component to
another componenet during the program execution are called
data transfer instructions.
Programmer can use these instruction to move data from CPU
to main memory.
 Arithmetic and logical instructions:
The instruction used to perform arithmatic operations are called
arithmatic instruction.different arithmatic operations are:
ADDITION + SUBTRACTION- MULTIPLICATION* DEVISION/
The instructions used to perform logical operations are called
logical instruction. Differnt logical instructions are:
LESS THAN< GREATER THAN> EQUAL TO=
 I/O instructions:
Every CPU provides the operations of reading data from
peripheral devices and writing data to peripheral devices.
Peripheral devices means input and output devices
such as keyboard, muse and monitor.
 Control transfer instruction:
The instruction used to change the sequence of instructions of the
program are called control transfer instructions.
IMPORTANCE OF INSTRUCTION SET
 Efficiency:
Determines how efficeintly instructions are
executed.
 Compatibility:
Defines which software can run on the
processor.
 Hardware Utilization:
Influences power consumption
and resource allocation.
 Programming Ease:
Affects how easy it is to write
and optimize code.
 Extensions:
Allows for specialized instructions for
specific tasks.
 Portability:
Enables software to run across different
hardware platforms.
 Future-Proofing:
Ensures compatibility with emerging
technologies.
 Security:
Includes features to protect against
vulnerabilities.
 Performance Optimization:
Directly impacts processor
speed and efficiency.
 Ecosystem Support:
Enhances overall value through
development tools and community resources.
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
complete DLD.pptxbjngjjgujjhhujhhhuujhguh
complete DLD.pptxbjngjjgujjhhujhhhuujhguh

More Related Content

PPT
Pipelining slides
PrasantaKumarDash2
 
PPT
Coa.ppt2
PrasantaKumarDash2
 
PPT
Unit 3
Sneha Soni
 
PPTX
Pipeline & Nonpipeline Processor
Smit Shah
 
PPT
Pipelining In computer
Talesun Solar USA Ltd.
 
PPTX
Pipelining of Processors
Gaditek
 
PPT
Pipelining _
SwatiHans10
 
PPTX
COA Unit-5.pptx
Bharti189559
 
Pipelining slides
PrasantaKumarDash2
 
Unit 3
Sneha Soni
 
Pipeline & Nonpipeline Processor
Smit Shah
 
Pipelining In computer
Talesun Solar USA Ltd.
 
Pipelining of Processors
Gaditek
 
Pipelining _
SwatiHans10
 
COA Unit-5.pptx
Bharti189559
 

Similar to complete DLD.pptxbjngjjgujjhhujhhhuujhguh (20)

PDF
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
ijiert bestjournal
 
PPTX
Pipeline and Vector Processing Computer Org. Architecture.pptx
itofficial07
 
PPT
CAO_lecutre4 Processor basics (1) (1)smmsnsm
2kawserahmed7
 
PDF
Pipelining 16 computers Artitacher pdf
MadhuGupta99385
 
PDF
Module 2 of apj Abdul kablam university hpc.pdf
22br14851
 
PPTX
Pipelining of Processors Computer Architecture
Haris456
 
PPT
Computer architecture pipelining
Mazin Alwaaly
 
PPT
CH-5-Pipelining Computer architecture and organization.ppt
ssuser127433
 
PPTX
pipelining
sudhir saurav
 
PPTX
CMPN301-Pipelining_V2.pptx
NadaAAmin
 
PPTX
3 Pipelining
fika sweety
 
PDF
Topic2a ss pipelines
turki_09
 
PPTX
Instruction pipeline: Computer Architecture
InteX Research Lab
 
PPTX
Design pipeline architecture for various stage pipelines
Mahmudul Hasan
 
PPT
Introduction_pipeline24.ppt which include
GauravDaware2
 
PPTX
Unit - 5 Pipelining.pptx
Medicaps University
 
PPT
Pipelining
Amin Omi
 
DOC
Pipeline Mechanism
Ashik Iqbal
 
PPTX
11-Serial_vs_Pipelined.pptx
DanyMerhej1
 
PPT
Pipelining
Shubham Bammi
 
INCREASING THE THROUGHPUT USING EIGHT STAGE PIPELINING
ijiert bestjournal
 
Pipeline and Vector Processing Computer Org. Architecture.pptx
itofficial07
 
CAO_lecutre4 Processor basics (1) (1)smmsnsm
2kawserahmed7
 
Pipelining 16 computers Artitacher pdf
MadhuGupta99385
 
Module 2 of apj Abdul kablam university hpc.pdf
22br14851
 
Pipelining of Processors Computer Architecture
Haris456
 
Computer architecture pipelining
Mazin Alwaaly
 
CH-5-Pipelining Computer architecture and organization.ppt
ssuser127433
 
pipelining
sudhir saurav
 
CMPN301-Pipelining_V2.pptx
NadaAAmin
 
3 Pipelining
fika sweety
 
Topic2a ss pipelines
turki_09
 
Instruction pipeline: Computer Architecture
InteX Research Lab
 
Design pipeline architecture for various stage pipelines
Mahmudul Hasan
 
Introduction_pipeline24.ppt which include
GauravDaware2
 
Unit - 5 Pipelining.pptx
Medicaps University
 
Pipelining
Amin Omi
 
Pipeline Mechanism
Ashik Iqbal
 
11-Serial_vs_Pipelined.pptx
DanyMerhej1
 
Pipelining
Shubham Bammi
 
Ad

More from kashafishfaq21 (12)

PPTX
Rational Rose.pptxbnnhjjnbjknhjjkhhjhhhh
kashafishfaq21
 
PPT
ch2_processmodels.pptjjgjuuuuugffyuijhgff
kashafishfaq21
 
PDF
lecture01softwareengineering-151017024008-lva1-app6892.pdf
kashafishfaq21
 
PPTX
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
kashafishfaq21
 
PDF
encapsulation1-150816163959-lva1-app6891.pdf
kashafishfaq21
 
PDF
HAFIZA PP666666576887654678876544566T.pdf
kashafishfaq21
 
PDF
circuits-150320014416-conversion-gate01.pdf
kashafishfaq21
 
PDF
inheritance-16031525566nbhij56604452.pdf
kashafishfaq21
 
PDF
polymorphism-17013114666666666653806.pdf
kashafishfaq21
 
PDF
logicgates-180511113246666666660 (1).pdf
kashafishfaq21
 
PDF
babsatu-140703233001-phpapp666666601.pdf
kashafishfaq21
 
PDF
ifrad01605545networkcomponents-181123160910.pdf
kashafishfaq21
 
Rational Rose.pptxbnnhjjnbjknhjjkhhjhhhh
kashafishfaq21
 
ch2_processmodels.pptjjgjuuuuugffyuijhgff
kashafishfaq21
 
lecture01softwareengineering-151017024008-lva1-app6892.pdf
kashafishfaq21
 
Registers.pptxmjgfdgjbgghjghjjfyujgftujbvf
kashafishfaq21
 
encapsulation1-150816163959-lva1-app6891.pdf
kashafishfaq21
 
HAFIZA PP666666576887654678876544566T.pdf
kashafishfaq21
 
circuits-150320014416-conversion-gate01.pdf
kashafishfaq21
 
inheritance-16031525566nbhij56604452.pdf
kashafishfaq21
 
polymorphism-17013114666666666653806.pdf
kashafishfaq21
 
logicgates-180511113246666666660 (1).pdf
kashafishfaq21
 
babsatu-140703233001-phpapp666666601.pdf
kashafishfaq21
 
ifrad01605545networkcomponents-181123160910.pdf
kashafishfaq21
 
Ad

Recently uploaded (20)

DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
PPTX
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
PPTX
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
PPTX
FSSAI (Food Safety and Standards Authority of India) & FDA (Food and Drug Adm...
Dr. Paindla Jyothirmai
 
PDF
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
PPTX
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
PPTX
CDH. pptx
AneetaSharma15
 
PPTX
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PPTX
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
PPTX
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTX
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
PDF
Study Material and notes for Women Empowerment
ComputerScienceSACWC
 
PPT
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
PPTX
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
PPTX
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
PPTX
Autodock-for-Beginners by Rahul D Jawarkar.pptx
Rahul Jawarkar
 
PDF
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
PDF
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
 
CONCEPT OF CHILD CARE. pptx
AneetaSharma15
 
Software Engineering BSC DS UNIT 1 .pptx
Dr. Pallawi Bulakh
 
FSSAI (Food Safety and Standards Authority of India) & FDA (Food and Drug Adm...
Dr. Paindla Jyothirmai
 
Antianginal agents, Definition, Classification, MOA.pdf
Prerana Jadhav
 
Measures_of_location_-_Averages_and__percentiles_by_DR SURYA K.pptx
Surya Ganesh
 
CDH. pptx
AneetaSharma15
 
How to Manage Leads in Odoo 18 CRM - Odoo Slides
Celine George
 
PREVENTIVE PEDIATRIC. pptx
AneetaSharma15
 
How to Close Subscription in Odoo 18 - Odoo Slides
Celine George
 
PPTs-The Rise of Empiresghhhhhhhh (1).pptx
academysrusti114
 
Study Material and notes for Women Empowerment
ComputerScienceSACWC
 
Python Programming Unit II Control Statements.ppt
CUO VEERANAN VEERANAN
 
HISTORY COLLECTION FOR PSYCHIATRIC PATIENTS.pptx
PoojaSen20
 
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
 
Autodock-for-Beginners by Rahul D Jawarkar.pptx
Rahul Jawarkar
 
PG-BPSDMP 2 TAHUN 2025PG-BPSDMP 2 TAHUN 2025.pdf
AshifaRamadhani
 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
 
What is CFA?? Complete Guide to the Chartered Financial Analyst Program
sp4989653
 

complete DLD.pptxbjngjjgujjhhujhhhuujhguh

  • 2. ROSEN QUEEN`S IQRA IRSHAD MAHEEN ARIF EMAN NOOR UQBA NISAR MARYAM SHEHZAD ZOHA AMIR 33 01 47 19 28 06
  • 3. INSTRUCTIONS PIPELINE  An instruction pipeline is a technique used in design of computers to increase their instruction throughput (number of instructions executed per unit time)  In instruction pipeline a stream of instructions can be executed in an overlapping manner.  Instruction pipelining is used to achive instructions level parallism within a single processor.
  • 4.  In instructions pipelining these steps of many instruction can be carried out simultaneously in an overlapped manner to reduced the overall execution time.  If pipeline made up of more stages then we get more throughput of time CPU. INSTRUCTION PIPELINE  Insruction fetch  Decode instruction  Operand fetch  Execute and wite back the result  Instruction fetch  Decode instruction  Operand fetch  Execute  Write back  Instruction fetch  Decode instruction  Calculate effecting of operands  Fetch operand  Execute  Write back
  • 5. SIX STAGES OF INSTRUCTION PIPELINE If the instrution processing is split into six phases the instruction pipeline will how six different for the execution of these phases STAGES: S1 – Fetch instruction S2 – Decode instruction S3 – Calculate operand S4 – Fetch operand S5 – Execute instructions S6 – Write back
  • 6. 1. Fetch instruction: Instructions are fetched from the memory into a temporary buffer before it gets executed. 2. Decode instruction: Instruction is decoded by the CPU so that he necessary op codes (operation) and operands can be determined. 3. Calculate effective address: In this stage based on the addressing scheme used either operands are directly provided in the instructions or the effective adress has to be calculated.
  • 7. 5. Execute instructions: In this stage execution of instruction takes place. 6. Write back: In this stage the result from the execution of instruction shared or written back in the memory or register. F I D I C O F O E I W B 4. Fetch operand: In this stage operands are fetched from the adress calculated in stage 3.
  • 9. TYPES OF PIPELINE DELAY The pipeline delay is of two types which are discribed as follows: 1. UNIFORM DELAY PIPELINE: All the stages in a uniform delay pipeline will complete their operations by taking the same time. The cycle time in this pipeline is discribed as follows: CYCLE TIME (TP) = STAGE DELAY If there are buffers between the stages, then the cycle time will be discribed as follows: CYCLE TIME (TP) = STAGE DELAY + BUFFER DELAY
  • 11. 2.NON UNIFORM DELAY PIPELINE: All the stages in a non uniform delay pipeline will complete their operations by taking different times. The cycle time in this pipeline is discribed as follows: CYCLE TIME (TP) = MAXIMUM (STAGE DELAY) FOR EXAMPLE: Suppose we have foue stages which contain stage delay as 1 ns, 2 ns, 3ns, and 4 ns. In this case the cycle time will be: TP = MAXIMUM (1ns, 2ns, 3ns, 4ns) =4ns If there are buffers between the stages then the cycle time will be discribed as follows: CYCLE TIME (TP) = MAXIMUM (STAGE DELAY + BUFFER)
  • 12. Frequency: The number of waves or vibrations that passes in one unit of time. Formula: f=1/T
  • 14. ADVANTAGES OF PIPELININIG • Instruction throughput increases. • Increase in the number of pipeline stages increase the number of instructions executed simultaneously. • Faster ALU can be designed when pipelining is used. • Pipelining increases the overall performance of the CPU.
  • 15. DISADVANTAGES OF PIPELINING • Designing of the pipelined processor is complex. • Instructions latency increases in pipelined processors. • The throughput of a pipelined processor is difficult to predict. • The longer the pipeline, worse the problem of hazard for branch instructions.
  • 16. NAME MAHEEN ARIF ROLL NO; 01 SUBJECT COMPUTER ORGANIZATION AND DESIGN TOPIC DIFFERENCE BETWEEN PIPELINE AND NON PIPELINE
  • 17. Pipeline VS Non Pipeline Pipeline Non pipeline Many instructions are executed at the same time. Only one instruction is executed at the same time. Execution time is comparatively less. Execution takes more time. Less and execution is done in a fewer cycle. More numbers of cycles comparatively Low user response time. High user response time. Decrease the performance of C.P.U. Increase the performance of C.P.U.
  • 18. IF IF IF ID ID ID IE IE IE WB WB WB Stage 1 Stage 2 Stage 3 Stage 4 1 2 3 4 5 6 7 8 PIPELINE
  • 19. NON PIPELINE IF IF IF ID ID ID IE IE IE WB WB WB Stage 1 Stage 2 Stage 3 Stage 4 1 2 3 4 5 6 7 8 9 10 11 12
  • 20. Example of pipelining F F F T T T P P P 10 20 30 40 50 60 70 80 90 10 0 Stage 1 Stage 2 Stage 3 Circle cycle F=Cycle frame, T=Cycle tyre, P=Paint
  • 21. Example of nonpipelining F F F T T T P P P 10 20 30 40 50 60 70 80 90 10 0 Stage 1 Stage 2 Stage 3 Circle Cycle
  • 23. Instruction set: A set of instructions that a CPU can perform is called instruction set. • Different types of CPU can execute different types of instruction sets. • Modern CPU can execute 80 to 120 instruction. Types of instruction: • Data transfer instructions Arithmatic and logical instructions • I/O instruction Control transfer instruction
  • 24.  Data transfer instructions: The instructions used to transfer data from one component to another componenet during the program execution are called data transfer instructions. Programmer can use these instruction to move data from CPU to main memory.
  • 25.  Arithmetic and logical instructions: The instruction used to perform arithmatic operations are called arithmatic instruction.different arithmatic operations are: ADDITION + SUBTRACTION- MULTIPLICATION* DEVISION/ The instructions used to perform logical operations are called logical instruction. Differnt logical instructions are: LESS THAN< GREATER THAN> EQUAL TO=
  • 26.  I/O instructions: Every CPU provides the operations of reading data from peripheral devices and writing data to peripheral devices. Peripheral devices means input and output devices such as keyboard, muse and monitor.
  • 27.  Control transfer instruction: The instruction used to change the sequence of instructions of the program are called control transfer instructions.
  • 28. IMPORTANCE OF INSTRUCTION SET  Efficiency: Determines how efficeintly instructions are executed.  Compatibility: Defines which software can run on the processor.  Hardware Utilization: Influences power consumption and resource allocation.
  • 29.  Programming Ease: Affects how easy it is to write and optimize code.  Extensions: Allows for specialized instructions for specific tasks.  Portability: Enables software to run across different hardware platforms.  Future-Proofing: Ensures compatibility with emerging technologies.
  • 30.  Security: Includes features to protect against vulnerabilities.  Performance Optimization: Directly impacts processor speed and efficiency.  Ecosystem Support: Enhances overall value through development tools and community resources.

Editor's Notes