SlideShare una empresa de Scribd logo
1 de 28
Arithmetic Pipeline
Ahmed shamel
supervised by:
Dr. En. Bassim Alani
• Main topics in 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: Laundry Example
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
Sequential Laundry
A
B
C
D
30 40 20 30 40 20 30 40 20 30 40 20
6 PM 7 8 9 10 11 Midnight
T
a
s
k
O
r
d
e
r
Time
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 scheduled laundry:
Pipelined Laundry Operator
A
B
C
D
6 PM 7 8 9 10 11
T
a
s
k
O
r
d
e
r
Time
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 speedup
A
B
C
D
6 PM 7 8 9
T
a
s
k
O
r
d
e
r
Time
30 40 40 40 40 20
The washer
waits for the
dryer for 10
minutes
• 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
Pipelining
Decomposing a sequential process into suboperations
Each subprocess is executed in a special dedicated segment concurrently
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.
Fixed Arithmetic 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:
Fixed Arithmetic pipeline
Now, we can identify the following stages for 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.
ExponentMantissa
ExponentMantissa
Floating-Point
Add/Subtraction
Pipeline:
Vector Processing
• 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
Vector Processing
Vector Instruction Format :
ADD A B C 100
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
































333231
232221
131211
333231
232221
131211
333231
232221
131211
ccc
ccc
ccc
bbb
bbb
bbb
aaa
aaa
aaa
31132112111111 bababac 
bacc 
3113211211111111 bababacc 
C11 initial value = 0
    
• Pipeline for calculating an inner product :
• Floating point multiplier pipeline : 4 segment
• Floating point adder pipeline : 4 segment
• Example:
• after 1st clock input
• after 8th clock input
• The four partial sum are added
to form the final sum
kk BABABABAC  332211
Source
A
Source
B
Multiplier
pipeline
Adder
pipeline
• after 4th clock input
A1B1
Source
A
Source
B
Multiplier
pipeline
Adder
pipeline
A4B4 A3B3 A2B2 A1B1
Source
A
Source
B
Multiplier
pipeline
Adder
pipeline
Source
A
Source
B
Multiplier
pipeline
Adder
pipeline
• after 9th, 10th, 11th ,...
A8B8 A7B7 A6B6 A5B5 A4B4 A3B3 A2B2 A1B1
A8B8 A7B7 A6B6 A5B5 A4B4 A3B3 A2B2 A1B1
5511 BABA 
, , ,  
6622 BABA 








161612128844
151511117733
141410106622
1313995511
BABABABA
BABABABA
BABABABA
BABABABAC
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
AR
Memory
array
DR
AR
Memory
array
DR
AR
Memory
array
DR
AR
Memory
array
DR
Address bus
Data bus
Array Processor
• Processor that performs the computations on large arrays of
data.
• There are two different types of (array processor) :
• Attached Array Processor
• SIMD Array Processor
Vector processing : Adder/Multiplier pipeline use
Array processing: using a separate array processor
Attached Array Processor
• 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
SIMD Array 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.
PE 1
PE 3
PE 2
M1
M3
M2
PE n Mn
Master control
unit
Main memory
Arithmatic pipline

Más contenido relacionado

La actualidad más candente

memory reference instruction
memory reference instructionmemory reference instruction
memory reference instructionDeepikaT13
 
Concept of Pipelining
Concept of PipeliningConcept of Pipelining
Concept of PipeliningSHAKOOR AB
 
Restoring & Non-Restoring Division Algorithm By Sania Nisar
Restoring & Non-Restoring Division Algorithm By Sania NisarRestoring & Non-Restoring Division Algorithm By Sania Nisar
Restoring & Non-Restoring Division Algorithm By Sania NisarSania Nisar
 
Addressing mode Computer Architecture
Addressing mode  Computer ArchitectureAddressing mode  Computer Architecture
Addressing mode Computer ArchitectureHaris456
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Subhasis Dash
 
Instruction cycle with interrupts
Instruction cycle with interruptsInstruction cycle with interrupts
Instruction cycle with interruptsShubham Jain
 
Displacement addressing
Displacement addressingDisplacement addressing
Displacement addressingRajon
 
Cache memory
Cache memoryCache memory
Cache memoryAnuj Modi
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transferpriya Nithya
 
Flynns classification
Flynns classificationFlynns classification
Flynns classificationYasir Khan
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stackAsif Iqbal
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.CS_GDRCST
 
Superscalar processor
Superscalar processorSuperscalar processor
Superscalar processornoor ul ain
 
Pipeline processing - Computer Architecture
Pipeline processing - Computer Architecture Pipeline processing - Computer Architecture
Pipeline processing - Computer Architecture S. Hasnain Raza
 

La actualidad más candente (20)

memory reference instruction
memory reference instructionmemory reference instruction
memory reference instruction
 
Concept of Pipelining
Concept of PipeliningConcept of Pipelining
Concept of Pipelining
 
Restoring & Non-Restoring Division Algorithm By Sania Nisar
Restoring & Non-Restoring Division Algorithm By Sania NisarRestoring & Non-Restoring Division Algorithm By Sania Nisar
Restoring & Non-Restoring Division Algorithm By Sania Nisar
 
CISC & RISC Architecture
CISC & RISC Architecture CISC & RISC Architecture
CISC & RISC Architecture
 
Addressing mode Computer Architecture
Addressing mode  Computer ArchitectureAddressing mode  Computer Architecture
Addressing mode Computer Architecture
 
Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1) Computer Organisation & Architecture (chapter 1)
Computer Organisation & Architecture (chapter 1)
 
Instruction cycle with interrupts
Instruction cycle with interruptsInstruction cycle with interrupts
Instruction cycle with interrupts
 
Displacement addressing
Displacement addressingDisplacement addressing
Displacement addressing
 
Cache memory
Cache memoryCache memory
Cache memory
 
Unit 4-booth algorithm
Unit 4-booth algorithmUnit 4-booth algorithm
Unit 4-booth algorithm
 
Parallel processing
Parallel processingParallel processing
Parallel processing
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Asynchronous data transfer
Asynchronous data transferAsynchronous data transfer
Asynchronous data transfer
 
Flynns classification
Flynns classificationFlynns classification
Flynns classification
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stack
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
 
Superscalar processor
Superscalar processorSuperscalar processor
Superscalar processor
 
Pipeline processing - Computer Architecture
Pipeline processing - Computer Architecture Pipeline processing - Computer Architecture
Pipeline processing - Computer Architecture
 

Destacado

Data base security and injection
Data base security and injectionData base security and injection
Data base security and injectionA. Shamel
 
wireless sensor network
wireless sensor networkwireless sensor network
wireless sensor networkA. Shamel
 
Malicion software
Malicion softwareMalicion software
Malicion softwareA. Shamel
 
Security vulnerability
Security vulnerabilitySecurity vulnerability
Security vulnerabilityA. Shamel
 
GSM & CDMA & OFDM
GSM & CDMA & OFDMGSM & CDMA & OFDM
GSM & CDMA & OFDMA. Shamel
 
Analog communication
Analog communicationAnalog communication
Analog communicationA. Shamel
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filterA. Shamel
 
Instruction pipelining
Instruction pipeliningInstruction pipelining
Instruction pipeliningTech_MX
 
Understanding Database Encryption & Protecting Against the Insider Threat wit...
Understanding Database Encryption & Protecting Against the Insider Threat wit...Understanding Database Encryption & Protecting Against the Insider Threat wit...
Understanding Database Encryption & Protecting Against the Insider Threat wit...MongoDB
 
Oracle Key Vault Overview
Oracle Key Vault OverviewOracle Key Vault Overview
Oracle Key Vault OverviewTroy Kitch
 
Lec Jan29 2009
Lec Jan29 2009Lec Jan29 2009
Lec Jan29 2009Ravi Soni
 

Destacado (20)

Data base security and injection
Data base security and injectionData base security and injection
Data base security and injection
 
wireless sensor network
wireless sensor networkwireless sensor network
wireless sensor network
 
Malicion software
Malicion softwareMalicion software
Malicion software
 
Security vulnerability
Security vulnerabilitySecurity vulnerability
Security vulnerability
 
GSM & CDMA & OFDM
GSM & CDMA & OFDMGSM & CDMA & OFDM
GSM & CDMA & OFDM
 
Analog communication
Analog communicationAnalog communication
Analog communication
 
Adaptive filter
Adaptive filterAdaptive filter
Adaptive filter
 
pipelining
pipeliningpipelining
pipelining
 
Instruction pipelining
Instruction pipeliningInstruction pipelining
Instruction pipelining
 
pipelining
pipeliningpipelining
pipelining
 
Understanding Database Encryption & Protecting Against the Insider Threat wit...
Understanding Database Encryption & Protecting Against the Insider Threat wit...Understanding Database Encryption & Protecting Against the Insider Threat wit...
Understanding Database Encryption & Protecting Against the Insider Threat wit...
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
8051 ram org
8051 ram org8051 ram org
8051 ram org
 
Oracle Key Vault Overview
Oracle Key Vault OverviewOracle Key Vault Overview
Oracle Key Vault Overview
 
Architecture of tms320 f2812
Architecture of tms320 f2812Architecture of tms320 f2812
Architecture of tms320 f2812
 
Arithmatic sequence Slide
Arithmatic sequence SlideArithmatic sequence Slide
Arithmatic sequence Slide
 
Dsp lab seminar
Dsp lab seminarDsp lab seminar
Dsp lab seminar
 
Lec Jan29 2009
Lec Jan29 2009Lec Jan29 2009
Lec Jan29 2009
 
8051 presentation
8051 presentation8051 presentation
8051 presentation
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
 

Similar a Arithmatic pipline

arithmaticpipline-170310085040.pptx
arithmaticpipline-170310085040.pptxarithmaticpipline-170310085040.pptx
arithmaticpipline-170310085040.pptxAshokRachapalli1
 
Pipelining of Processors Computer Architecture
Pipelining of  Processors Computer ArchitecturePipelining of  Processors Computer Architecture
Pipelining of Processors Computer ArchitectureHaris456
 
Digital and logic designs presentation
Digital and logic designs presentationDigital and logic designs presentation
Digital and logic designs presentationHaya Butt
 
Flow control
Flow controlFlow control
Flow controlSTEFFY D
 
pipelining-190913185902.pptx
pipelining-190913185902.pptxpipelining-190913185902.pptx
pipelining-190913185902.pptxAshokRachapalli1
 
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
 
Computer organisation and architecture
Computer organisation and architectureComputer organisation and architecture
Computer organisation and architecturePreethi T G
 

Similar a Arithmatic pipline (20)

arithmaticpipline-170310085040.pptx
arithmaticpipline-170310085040.pptxarithmaticpipline-170310085040.pptx
arithmaticpipline-170310085040.pptx
 
Pipelineing idealisam
Pipelineing idealisamPipelineing idealisam
Pipelineing idealisam
 
Unit - 5 Pipelining.pptx
Unit - 5 Pipelining.pptxUnit - 5 Pipelining.pptx
Unit - 5 Pipelining.pptx
 
Pipeline r014
Pipeline   r014Pipeline   r014
Pipeline r014
 
CSO PPT.pptx
CSO PPT.pptxCSO PPT.pptx
CSO PPT.pptx
 
Adder
Adder Adder
Adder
 
Counters.ppt
Counters.pptCounters.ppt
Counters.ppt
 
Pipelining of Processors Computer Architecture
Pipelining of  Processors Computer ArchitecturePipelining of  Processors Computer Architecture
Pipelining of Processors Computer Architecture
 
Digital and logic designs presentation
Digital and logic designs presentationDigital and logic designs presentation
Digital and logic designs presentation
 
Pipelining slides
Pipelining slides Pipelining slides
Pipelining slides
 
Coa.ppt2
Coa.ppt2Coa.ppt2
Coa.ppt2
 
Charan
CharanCharan
Charan
 
Charan
CharanCharan
Charan
 
Flow control
Flow controlFlow control
Flow control
 
Piplining
PipliningPiplining
Piplining
 
CIM 15ME62 Module-3
CIM 15ME62  Module-3CIM 15ME62  Module-3
CIM 15ME62 Module-3
 
pipelining-190913185902.pptx
pipelining-190913185902.pptxpipelining-190913185902.pptx
pipelining-190913185902.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
 
Computer organisation and architecture
Computer organisation and architectureComputer organisation and architecture
Computer organisation and architecture
 
3 Pipelining
3 Pipelining3 Pipelining
3 Pipelining
 

Más de A. Shamel

Vmware Data Center Virtualization ESXI and vCenter
Vmware Data Center Virtualization ESXI and vCenterVmware Data Center Virtualization ESXI and vCenter
Vmware Data Center Virtualization ESXI and vCenterA. Shamel
 
Cybersecurity
CybersecurityCybersecurity
CybersecurityA. Shamel
 
Foreigners Authentication Based on Multi-Biometric System for Iraq
Foreigners Authentication Based on  Multi-Biometric System for IraqForeigners Authentication Based on  Multi-Biometric System for Iraq
Foreigners Authentication Based on Multi-Biometric System for IraqA. Shamel
 
Buses and protocol
Buses and protocolBuses and protocol
Buses and protocolA. Shamel
 
Serial connectors, Protocols , USB (universal serial bus)
Serial connectors, Protocols , USB (universal serial bus)Serial connectors, Protocols , USB (universal serial bus)
Serial connectors, Protocols , USB (universal serial bus)A. Shamel
 

Más de A. Shamel (7)

Vmware Data Center Virtualization ESXI and vCenter
Vmware Data Center Virtualization ESXI and vCenterVmware Data Center Virtualization ESXI and vCenter
Vmware Data Center Virtualization ESXI and vCenter
 
Cybersecurity
CybersecurityCybersecurity
Cybersecurity
 
Foreigners Authentication Based on Multi-Biometric System for Iraq
Foreigners Authentication Based on  Multi-Biometric System for IraqForeigners Authentication Based on  Multi-Biometric System for Iraq
Foreigners Authentication Based on Multi-Biometric System for Iraq
 
Buses and protocol
Buses and protocolBuses and protocol
Buses and protocol
 
Serial connectors, Protocols , USB (universal serial bus)
Serial connectors, Protocols , USB (universal serial bus)Serial connectors, Protocols , USB (universal serial bus)
Serial connectors, Protocols , USB (universal serial bus)
 
Omnet sem
Omnet semOmnet sem
Omnet sem
 
Foc ch4
Foc ch4Foc ch4
Foc ch4
 

Último

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfSherif Taha
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseAnaAcapella
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structuredhanjurrannsibayan2
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...Nguyen Thanh Tu Collection
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 

Último (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 

Arithmatic pipline

  • 2. • Main topics in 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: Laundry Example 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. Sequential Laundry A B C D 30 40 20 30 40 20 30 40 20 30 40 20 6 PM 7 8 9 10 11 Midnight T a s k O r d e r Time 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 scheduled laundry: Pipelined Laundry Operator A B C D 6 PM 7 8 9 10 11 T a s k O r d e r Time 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 speedup A B C D 6 PM 7 8 9 T a s k O r d e r Time 30 40 40 40 40 20 The washer waits for the dryer for 10 minutes
  • 8. • 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 Pipelining Decomposing a sequential process into suboperations Each subprocess is executed in a special dedicated segment concurrently 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. Fixed Arithmetic 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 can identify the following stages for 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. ExponentMantissa
  • 18.
  • 19.
  • 20. Vector Processing • 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 : ADD A B C 100 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                                 333231 232221 131211 333231 232221 131211 333231 232221 131211 ccc ccc ccc bbb bbb bbb aaa aaa aaa 31132112111111 bababac  bacc  3113211211111111 bababacc  C11 initial value = 0     
  • 23. • Pipeline for calculating an inner product : • Floating point multiplier pipeline : 4 segment • Floating point adder pipeline : 4 segment • Example: • after 1st clock input • after 8th clock input • The four partial sum are added to form the final sum kk BABABABAC  332211 Source A Source B Multiplier pipeline Adder pipeline • after 4th clock input A1B1 Source A Source B Multiplier pipeline Adder pipeline A4B4 A3B3 A2B2 A1B1 Source A Source B Multiplier pipeline Adder pipeline Source A Source B Multiplier pipeline Adder pipeline • after 9th, 10th, 11th ,... A8B8 A7B7 A6B6 A5B5 A4B4 A3B3 A2B2 A1B1 A8B8 A7B7 A6B6 A5B5 A4B4 A3B3 A2B2 A1B1 5511 BABA  , , ,   6622 BABA          161612128844 151511117733 141410106622 1313995511 BABABABA BABABABA BABABABA BABABABAC
  • 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 AR Memory array DR AR Memory array DR AR Memory array DR AR Memory array DR Address bus Data bus
  • 25. Array Processor • Processor that performs the computations on large arrays of data. • There are two different types of (array processor) : • Attached Array Processor • SIMD Array Processor Vector processing : Adder/Multiplier pipeline use Array processing: using a separate array processor
  • 26. Attached Array Processor • 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. SIMD Array 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. PE 1 PE 3 PE 2 M1 M3 M2 PE n Mn Master control unit Main memory