SlideShare a Scribd company logo
1 of 28
Arithmetic
Pipeline
Ahmed shamel
supervised by:
Dr. En. Bassim
Alani
• Main topicsin Pipeline processing is
• Arithmetic pipeline :
• fixed Arithmetic pipeline
• floating point
• Vector processing : adder/multiplier
pipeline
• Array processing : array processor
• Attached array processor
• SIMD Array Processor
Parallel
Processing
Adder-subtractor
Integer multiply
Floatint-point
add-subtract
Incrementer
Shift unit
Logic unit
Floatint-point
divide
Floatint-point
multiply
Processor
registers
To Memory
• Simultaneous data processing
tasks for the purpose of
increasing the computational
speed
• Perform concurrent data
processing to achieve
faster execution time
• Multiple Functional Unit :
• Separate the execution
unit into eight
functional units
operating in parallel.
Pipelining: LaundryExample
A B C D
 Small laundry has one
washer, one dryer and one
operator, it takes 90
minutes to finish one load:
 Washer takes 30 minutes
 Dryer takes 40 minutes
 “operator folding” takes
20 minutes
SequentialLaundry
A
B
C
D
30 40 20 30 40 20 30 40 20 30 40 20
6 PM 7 8 9
Time
10 11 Midnight•
T
a
s
k
O
r
d
e
r
90 min
This operator scheduled
his loads to be delivered
to the laundry every 90
minutes which is the
time required to finish
one load.
• In other words he will
not start a new task
unless he is already
done with the previous
task
• The process is
sequential. Sequential
laundry takes 6 hours
for 4 loads
Efficiently scheduledlaundry:
Pipelined LaundryOperator
A
B
C
D
6 PM 7 8 9 10 11
Time
T
a
s
k
O
r
d
e
r
30 40 40 40 40 20
40 40 40
• Another operator
asks for the
delivery of loads
to the laundry
every 40
minutes!?.
• Pipelined laundry
takes 3.5 hours for
4 loads
Pipelining Facts • Multiple tasks
operating
simultaneously
• Pipelining doesn’t help
latency (response time) of
single task, it helps
throughput of entire
workload
• Pipeline rate limited by
slowest pipeline stage
• Potential speedup = Number
of
pipe stages
• Unbalanced lengths of
pipe stages reduces
A
B
C
D
T
a
s
k
O
r
d
e
r
6 PM 7 8 9
Time
30 40 40 40 40 20
The washer
waits for the
dryer for 10
minutes
Pipelini
ng Decomposing a sequential process into suboperations
Each subprocess is executed in a special dedicated segment concurrently
• Instruction execution is divided into k segments or stages
• Instruction exits pipe stage k-1 and proceeds into pipe stage k
• All pipe stages take the same amount of time; called one
processor cycle
• Length of the processor cycle is determined by the slowest pipe
stage
k segments
Pipelining
• Suppose we want to perform the combined multiply and
add operations with a stream of numbers:
• Ai * Bi + Ci for i =1,2,3,…,7
• The sub operations performed in each segment of the pipeline
are as follows:
• R1  Ai , R2 
Bi
• R3  R1 * R2 R4 
Ci
• R5  R3 + R4
Arithmetic Pipeline
• Pipeline arithmetic units are usually found in very high speed computers.
• Arithmetic pipelines are constructed
for : simple fixed-point
floating-point arithmetic operations.
• For implementing the arithmetic pipelines we generally use following two
types of adder:
• i) Carry propagation adder (CPA): It adds two numbers such that
carries generated in successive digits are propagated.
• ii) Carry save adder (CSA): It adds two numbers such that carries
generated are
not propagated rather these are saved in a carry vector.
FixedArithmetic pipeline
• We take the example of multiplication of fixed numbers.
• Two fixed-point numbers are added by the ALU using add
and shift operations.
• This sequential execution makes the multiplication a slow
process.
• Observe that this is the process of adding the multiple
copies of shifted multiplicands as show below:
FixedArithmetic pipeline
Now,we canidentify the following stagesfor the
pipeline:
•The first stage generates the partial product of the numbers, which form
the six rows of shifted multiplicands.
•In the second stage, the six numbers are given to the two CSAs merging
into four numbers.
• In the third stage, there is a single CSA merging the numbers into
3numbers.
• In the fourth stage, there is a single number merging three numbers into
2numbers.
•In the fifth stage, the last two numbers are added through a CPA to get the
final product.
Floating point operations.
• The inputs to floating point adder pipeline are two
normalized floating point numbers.
• A and B are mantissas and a and b are the exponents.
• The floating point addition and subtraction can be performed in
four segments.
Expone
nt
Mantiss
a
Expone
nt
Mantiss
a
Floating-Point
Add/S
ubtraction
Pipeline:
VectorProcessing
• Science and Engineering
Applications
• Long-range weather forecasting,
• Petroleum explorations,
• Seismic data analysis
• Medical diagnosis ,
• Aerodynamics and space flight simulators,
• Artificial intelligence and expert systems,
• Mapping the human genome, Image
processing
VectorProcessing
Vector Instruction
Format :
10
0
ADD A B C
Matrix Multiplication
3 x 3 matrices multiplication : n2 = 9 inner
product
: inner product
9
Cumulative multiply-add operation : n3 = 27 multiply-
add : Three such multiply-
add
therefore 9 X 3 multiply-add =
27
Operation
code
Base address
source 1
Base address
source 2
Base address
destination
Vector
length


  21
21 22 23
c c
c12 c13
21 22 23
c32 c33
23
b33 c31
b   c
b
 b
b12 b13 c11
22
b32
a31 a32 a33 b31
a a
a
a11 a12 a13 b11
c11  a11 b11 a12 b21  a13 b31
c  c  a  b
C11 initial value =
0
c11  c11  a11 b11 a12 b21  a13b31
   
 
• Pipeline for calculating an inner
product :
• Floating point multiplier pipeline : 4 segment
• Floating point adder pipeline : 4 segment
• Exampl
e:
• after 1st clock
input
• after 8th clock
input
• The four partial sum are
added to form the final sum
C  A1B1 A2B2  A3B3  Ak Bk
Source
A
Source
B
Multiplier
pipeline
Adder
pipeline
• after 4th clock input
A1B1
Source
A
Source
B
Multiplier Adder
pipeline pipeline
A4
B4
A3B
3
A2
B
2
A1B
1
Source
A
Source
B
Multiplier
pipeline
Adder
pipeline
Source
A
Source
B
Multiplier
pipeline
Adder
pipeline
• after 9th, 10th, 11th ,...
8B8
A A7B7
A6B
6
A5B
5 A4B
4
A3
B
3 A2B2
A1B1
A8
B8
A7B
7
A6
B
6
A5B
5 A4
B4
A3B
3
A2
B
2
A1B
1
A1B1 A5B5
, , ,


A2B2  A6B6
 A4B4  A8B8  A12B12 A16B16 
 A3B3  A7B7  A11B11 A15B15 
 A2B2  A6B6  A10B10  A14B14 
C  A1B1 A5B5  A9B9  A13B13 
Memory Interleaving
• Memory Interleaving :
• Simultaneous access to memory from two or more source using one memory bus
system.
• Select one of 4 memory modules using lower 2 bits of AR
• Example) Even / Odd Address Memory Access
Address bus
AR AR AR AR
Memory Memory Memory Memory
array array array array
DR DR DR DR
Data bus
ArrayProcessor
• Processor that performs the computations on large
arrays of data.
Vector processing : Adder/Multiplier pipeline
use Array processing: using a separate array
processor
• There are two different types of (array processor) :
• Attached Array Processor
• SIMD Array Processor
Attached ArrayProcessor
• It is designed as a peripheral for a conventional host
computer.
• Its purpose is to enhance the performance of the
computer by providing vector processing.
• It achieves high performance by means of parallel
processing with multiple functional units.
General-purpose
computer
Input-Output
interface
Attached array
Processor
Main memory Local memory
High-speed memory to-
memory bus
SIMDArray Processor
• It is processor which consists of multiple processing unit
operating in parallel.
• The processing units are synchronized to perform the
same task under control of common control unit.
• Each processor elements(PE) includes an ALU , a
floating point arithmetic unit and working register.
P E 1
P E 3
P E 2
M 1
M 3
M 2
P E n M n
M a s t e r c o n t r o l
uni t
M a i n m e m o r y
arithmaticpipline-170310085040.pptx

More Related Content

Similar to arithmaticpipline-170310085040.pptx

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
 
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
 
BIL406-Chapter-7-Superscalar and Superpipeline processors.ppt
BIL406-Chapter-7-Superscalar and Superpipeline  processors.pptBIL406-Chapter-7-Superscalar and Superpipeline  processors.ppt
BIL406-Chapter-7-Superscalar and Superpipeline processors.pptKadri20
 
Pipelining And Vector Processing
Pipelining And Vector ProcessingPipelining And Vector Processing
Pipelining And Vector ProcessingTheInnocentTuber
 
Digital and logic designs presentation
Digital and logic designs presentationDigital and logic designs presentation
Digital and logic designs presentationHaya Butt
 
Aerospike Go Language Client
Aerospike Go Language ClientAerospike Go Language Client
Aerospike Go Language ClientSayyaparaju Sunil
 
Short.course.introduction.to.vhdl for beginners
Short.course.introduction.to.vhdl for beginners Short.course.introduction.to.vhdl for beginners
Short.course.introduction.to.vhdl for beginners Ravi Sony
 
Vlsi project presentation
Vlsi project presentationVlsi project presentation
Vlsi project presentationmdaman89
 
Lecutre-6 Datapath Design.ppt
Lecutre-6 Datapath Design.pptLecutre-6 Datapath Design.ppt
Lecutre-6 Datapath Design.pptRaJibRaju3
 
Pipelining of Processors Computer Architecture
Pipelining of  Processors Computer ArchitecturePipelining of  Processors Computer Architecture
Pipelining of Processors Computer ArchitectureHaris456
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerZahra Sadeghi
 
Single instruction multiple data
Single instruction multiple dataSingle instruction multiple data
Single instruction multiple dataSyed Zaid Irshad
 

Similar to arithmaticpipline-170310085040.pptx (20)

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
 
Basic non pipelined cpu architecture
Basic non pipelined cpu architectureBasic non pipelined cpu architecture
Basic non pipelined cpu architecture
 
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
 
BTCS501_MM_Ch9.pptx
BTCS501_MM_Ch9.pptxBTCS501_MM_Ch9.pptx
BTCS501_MM_Ch9.pptx
 
BIL406-Chapter-7-Superscalar and Superpipeline processors.ppt
BIL406-Chapter-7-Superscalar and Superpipeline  processors.pptBIL406-Chapter-7-Superscalar and Superpipeline  processors.ppt
BIL406-Chapter-7-Superscalar and Superpipeline processors.ppt
 
CO Module 5
CO Module 5CO Module 5
CO Module 5
 
Pipelining And Vector Processing
Pipelining And Vector ProcessingPipelining And Vector Processing
Pipelining And Vector Processing
 
Digital and logic designs presentation
Digital and logic designs presentationDigital and logic designs presentation
Digital and logic designs presentation
 
Aerospike Go Language Client
Aerospike Go Language ClientAerospike Go Language Client
Aerospike Go Language Client
 
Short.course.introduction.to.vhdl for beginners
Short.course.introduction.to.vhdl for beginners Short.course.introduction.to.vhdl for beginners
Short.course.introduction.to.vhdl for beginners
 
Vlsi project presentation
Vlsi project presentationVlsi project presentation
Vlsi project presentation
 
Lecutre-6 Datapath Design.ppt
Lecutre-6 Datapath Design.pptLecutre-6 Datapath Design.ppt
Lecutre-6 Datapath Design.ppt
 
Parallel Algorithms
Parallel AlgorithmsParallel Algorithms
Parallel Algorithms
 
Pipelining of Processors Computer Architecture
Pipelining of  Processors Computer ArchitecturePipelining of  Processors Computer Architecture
Pipelining of Processors Computer Architecture
 
Parallel Adder
Parallel Adder Parallel Adder
Parallel Adder
 
Cerebellar Model Articulation Controller
Cerebellar Model Articulation ControllerCerebellar Model Articulation Controller
Cerebellar Model Articulation Controller
 
Binary parallel adder
Binary parallel adderBinary parallel adder
Binary parallel adder
 
Single instruction multiple data
Single instruction multiple dataSingle instruction multiple data
Single instruction multiple data
 

More from AshokRachapalli1

17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptxAshokRachapalli1
 
joins in dbms its describes about how joins are important and necessity in d...
joins in dbms  its describes about how joins are important and necessity in d...joins in dbms  its describes about how joins are important and necessity in d...
joins in dbms its describes about how joins are important and necessity in d...AshokRachapalli1
 
6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptxAshokRachapalli1
 
inputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxinputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxAshokRachapalli1
 
arithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxarithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxAshokRachapalli1
 
Computer Network Architecture.pptx
Computer Network Architecture.pptxComputer Network Architecture.pptx
Computer Network Architecture.pptxAshokRachapalli1
 
Computer Network Types.pptx
Computer Network Types.pptxComputer Network Types.pptx
Computer Network Types.pptxAshokRachapalli1
 
dataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxdataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxAshokRachapalli1
 

More from AshokRachapalli1 (20)

17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
17.INTRODUCTION TO SCHEMA REFINEMENT.pptx
 
joins in dbms its describes about how joins are important and necessity in d...
joins in dbms  its describes about how joins are important and necessity in d...joins in dbms  its describes about how joins are important and necessity in d...
joins in dbms its describes about how joins are important and necessity in d...
 
6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx6.Database Languages lab-1.pptx
6.Database Languages lab-1.pptx
 
Chapter5 (1).ppt
Chapter5 (1).pptChapter5 (1).ppt
Chapter5 (1).ppt
 
Cache Memory.pptx
Cache Memory.pptxCache Memory.pptx
Cache Memory.pptx
 
Addressing Modes.pptx
Addressing Modes.pptxAddressing Modes.pptx
Addressing Modes.pptx
 
inputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptxinputoutputorganization-140722085906-phpapp01.pptx
inputoutputorganization-140722085906-phpapp01.pptx
 
NOV11 virtual memory.ppt
NOV11 virtual memory.pptNOV11 virtual memory.ppt
NOV11 virtual memory.ppt
 
lec16-memory.ppt
lec16-memory.pptlec16-memory.ppt
lec16-memory.ppt
 
lecture-17.ppt
lecture-17.pptlecture-17.ppt
lecture-17.ppt
 
arithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptxarithmeticmicrooperations-180130061637.pptx
arithmeticmicrooperations-180130061637.pptx
 
instruction format.pptx
instruction format.pptxinstruction format.pptx
instruction format.pptx
 
Computer Network Architecture.pptx
Computer Network Architecture.pptxComputer Network Architecture.pptx
Computer Network Architecture.pptx
 
Computer Network Types.pptx
Computer Network Types.pptxComputer Network Types.pptx
Computer Network Types.pptx
 
dataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptxdataencoding-150701201133-lva1-app6891.pptx
dataencoding-150701201133-lva1-app6891.pptx
 
Flow Control.pptx
Flow Control.pptxFlow Control.pptx
Flow Control.pptx
 
Chapter4.ppt
Chapter4.pptChapter4.ppt
Chapter4.ppt
 
intro22.ppt
intro22.pptintro22.ppt
intro22.ppt
 
osi.ppt
osi.pptosi.ppt
osi.ppt
 
switching.pptx
switching.pptxswitching.pptx
switching.pptx
 

Recently uploaded

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
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
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
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
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
 
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
 
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
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 

Recently uploaded (20)

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
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
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
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
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
 
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...
 
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...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 

arithmaticpipline-170310085040.pptx

  • 2. • Main topicsin Pipeline processing is • Arithmetic pipeline : • fixed Arithmetic pipeline • floating point • Vector processing : adder/multiplier pipeline • Array processing : array processor • Attached array processor • SIMD Array Processor
  • 3. Parallel Processing Adder-subtractor Integer multiply Floatint-point add-subtract Incrementer Shift unit Logic unit Floatint-point divide Floatint-point multiply Processor registers To Memory • Simultaneous data processing tasks for the purpose of increasing the computational speed • Perform concurrent data processing to achieve faster execution time • Multiple Functional Unit : • Separate the execution unit into eight functional units operating in parallel.
  • 4. Pipelining: LaundryExample A B C D  Small laundry has one washer, one dryer and one operator, it takes 90 minutes to finish one load:  Washer takes 30 minutes  Dryer takes 40 minutes  “operator folding” takes 20 minutes
  • 5. SequentialLaundry A B C D 30 40 20 30 40 20 30 40 20 30 40 20 6 PM 7 8 9 Time 10 11 Midnight• T a s k O r d e r 90 min This operator scheduled his loads to be delivered to the laundry every 90 minutes which is the time required to finish one load. • In other words he will not start a new task unless he is already done with the previous task • The process is sequential. Sequential laundry takes 6 hours for 4 loads
  • 6. Efficiently scheduledlaundry: Pipelined LaundryOperator A B C D 6 PM 7 8 9 10 11 Time T a s k O r d e r 30 40 40 40 40 20 40 40 40 • Another operator asks for the delivery of loads to the laundry every 40 minutes!?. • Pipelined laundry takes 3.5 hours for 4 loads
  • 7. Pipelining Facts • Multiple tasks operating simultaneously • Pipelining doesn’t help latency (response time) of single task, it helps throughput of entire workload • Pipeline rate limited by slowest pipeline stage • Potential speedup = Number of pipe stages • Unbalanced lengths of pipe stages reduces A B C D T a s k O r d e r 6 PM 7 8 9 Time 30 40 40 40 40 20 The washer waits for the dryer for 10 minutes
  • 8. Pipelini ng Decomposing a sequential process into suboperations Each subprocess is executed in a special dedicated segment concurrently • Instruction execution is divided into k segments or stages • Instruction exits pipe stage k-1 and proceeds into pipe stage k • All pipe stages take the same amount of time; called one processor cycle • Length of the processor cycle is determined by the slowest pipe stage k segments
  • 9. Pipelining • Suppose we want to perform the combined multiply and add operations with a stream of numbers: • Ai * Bi + Ci for i =1,2,3,…,7 • The sub operations performed in each segment of the pipeline are as follows: • R1  Ai , R2  Bi • R3  R1 * R2 R4  Ci • R5  R3 + R4
  • 10.
  • 11. Arithmetic Pipeline • Pipeline arithmetic units are usually found in very high speed computers. • Arithmetic pipelines are constructed for : simple fixed-point floating-point arithmetic operations. • For implementing the arithmetic pipelines we generally use following two types of adder: • i) Carry propagation adder (CPA): It adds two numbers such that carries generated in successive digits are propagated. • ii) Carry save adder (CSA): It adds two numbers such that carries generated are not propagated rather these are saved in a carry vector.
  • 12. FixedArithmetic pipeline • We take the example of multiplication of fixed numbers. • Two fixed-point numbers are added by the ALU using add and shift operations. • This sequential execution makes the multiplication a slow process. • Observe that this is the process of adding the multiple copies of shifted multiplicands as show below:
  • 14. Now,we canidentify the following stagesfor the pipeline: •The first stage generates the partial product of the numbers, which form the six rows of shifted multiplicands. •In the second stage, the six numbers are given to the two CSAs merging into four numbers. • In the third stage, there is a single CSA merging the numbers into 3numbers. • In the fourth stage, there is a single number merging three numbers into 2numbers. •In the fifth stage, the last two numbers are added through a CPA to get the final product.
  • 15.
  • 16. Floating point operations. • The inputs to floating point adder pipeline are two normalized floating point numbers. • A and B are mantissas and a and b are the exponents. • The floating point addition and subtraction can be performed in four segments. Expone nt Mantiss a
  • 18.
  • 19.
  • 20. VectorProcessing • Science and Engineering Applications • Long-range weather forecasting, • Petroleum explorations, • Seismic data analysis • Medical diagnosis , • Aerodynamics and space flight simulators, • Artificial intelligence and expert systems, • Mapping the human genome, Image processing
  • 22. Vector Instruction Format : 10 0 ADD A B C Matrix Multiplication 3 x 3 matrices multiplication : n2 = 9 inner product : inner product 9 Cumulative multiply-add operation : n3 = 27 multiply- add : Three such multiply- add therefore 9 X 3 multiply-add = 27 Operation code Base address source 1 Base address source 2 Base address destination Vector length     21 21 22 23 c c c12 c13 21 22 23 c32 c33 23 b33 c31 b   c b  b b12 b13 c11 22 b32 a31 a32 a33 b31 a a a a11 a12 a13 b11 c11  a11 b11 a12 b21  a13 b31 c  c  a  b C11 initial value = 0 c11  c11  a11 b11 a12 b21  a13b31      
  • 23. • Pipeline for calculating an inner product : • Floating point multiplier pipeline : 4 segment • Floating point adder pipeline : 4 segment • Exampl e: • after 1st clock input • after 8th clock input • The four partial sum are added to form the final sum C  A1B1 A2B2  A3B3  Ak Bk Source A Source B Multiplier pipeline Adder pipeline • after 4th clock input A1B1 Source A Source B Multiplier Adder pipeline pipeline A4 B4 A3B 3 A2 B 2 A1B 1 Source A Source B Multiplier pipeline Adder pipeline Source A Source B Multiplier pipeline Adder pipeline • after 9th, 10th, 11th ,... 8B8 A A7B7 A6B 6 A5B 5 A4B 4 A3 B 3 A2B2 A1B1 A8 B8 A7B 7 A6 B 6 A5B 5 A4 B4 A3B 3 A2 B 2 A1B 1 A1B1 A5B5 , , ,   A2B2  A6B6  A4B4  A8B8  A12B12 A16B16   A3B3  A7B7  A11B11 A15B15   A2B2  A6B6  A10B10  A14B14  C  A1B1 A5B5  A9B9  A13B13 
  • 24. Memory Interleaving • Memory Interleaving : • Simultaneous access to memory from two or more source using one memory bus system. • Select one of 4 memory modules using lower 2 bits of AR • Example) Even / Odd Address Memory Access Address bus AR AR AR AR Memory Memory Memory Memory array array array array DR DR DR DR Data bus
  • 25. ArrayProcessor • Processor that performs the computations on large arrays of data. Vector processing : Adder/Multiplier pipeline use Array processing: using a separate array processor • There are two different types of (array processor) : • Attached Array Processor • SIMD Array Processor
  • 26. Attached ArrayProcessor • It is designed as a peripheral for a conventional host computer. • Its purpose is to enhance the performance of the computer by providing vector processing. • It achieves high performance by means of parallel processing with multiple functional units. General-purpose computer Input-Output interface Attached array Processor Main memory Local memory High-speed memory to- memory bus
  • 27. SIMDArray Processor • It is processor which consists of multiple processing unit operating in parallel. • The processing units are synchronized to perform the same task under control of common control unit. • Each processor elements(PE) includes an ALU , a floating point arithmetic unit and working register. P E 1 P E 3 P E 2 M 1 M 3 M 2 P E n M n M a s t e r c o n t r o l uni t M a i n m e m o r y