SlideShare a Scribd company logo
1 of 9
Dr. Prasenjit Dey
 Ripple carry adder (RCA)
 Drawbacks of RCA
 Carry look ahead adder (CLA)
 Generalized expression of carry vector
 Hardware implementation of CLA
© Dr. Prasenjit Dey
© Dr. Prasenjit Dey
C0
A0B0
S0
A1B1
S1
A2B2
S2
A3B3
S3
C1C2C3
C4
4-bit Ripple Carry Adder (RCA)
FA1FA2FA3FA4
A3A2A1A0
+B3B2B1B0
0
0
0
0
1
1
0
1
0
0
1
0
1
0
1
0
sum
carry0
1
 In RCA the carry propagates from the 0th bit position to the nth bit
position sequentially
 Initially, 1st carry is generated, then from 1st carry, 2nd carry generates and so on.
 Now, for nth bit addition we need the (n-1)th carry bit, which generates
from the propagation of 0th carry bit(initial carry)
 The large the value of n is, the larger the carry propagation time will be
 Carry look-ahead (CLA) generates the all carry bits in advance from the
input operands only
 Thus, reduces carry propagation time
 For nth bit addition, it doesn't need to wait for the (n-1)th carry bit to be
propagates from the initial carry
© Dr. Prasenjit Dey
 Let us first took at the expression of sum & carry in full adder
© Dr. Prasenjit Dey
iiiiiii
iiii
cycxyxc
cyxs


1
iiiiii
iiii
yxPandyxGwhere
cPGc

1
)()( iiiiiiiiii xxcyyycxyx 
iiiiiiiiiiiiii cyxcyxcyxcyxyx 
iiiiiiiiiii cyxcyxcyxyx 
)()(1 iiiiiiii cyxyxcyx 
iiiiii cyxyxc )(1 
iii cps 
Pi = ith propagated Carry
Gi = ith Generated Carry
Gi and Pi are not dependent of ci
© Dr. Prasenjit Dey
iiii cPGc 1
00101212111 ......... cPPPGPPPPGPPGPGc iiiiiiiiiii  
111   iiii cPGc
)( 1111   iiiiii cPGPGc
))(( 222111   iiiiiiii cPGPGPGc
)( 222111   iiiiiiiii cPGPPGPGc
2212111   iiiiiiiiiii cPPPGPPGPGc
Putting the value of ci in (1)
(1)
Putting the value of ci-2
Generalized expression for Ci+1
Carry Vector = [c4, c3, c2, c1, c0]
c0 = cin
c1 = c0p0 + g0
c2 = c1p1 + g1 = c0p0p1 + g0p1 + g1
c3=c2p2 + g2 = c0p0p1p2+g0p1p2+g1p2 + g2
c4 = c3p3 + g3= c0P0p1p2p3+g0p1p2p3+g1p2p3+g2p3 + g3
© Dr. Prasenjit Dey
 When we already have A, B, Cin, we can get all the carries by 3 gate
delays
 1 gate delay for getting Pi and Gi
 2 gate delays in the AND-OR circuit for ci+1
 After getting all the carries, we can obtain the sum in 1 gate delay
 In ideal scenario, n-bit addition requires (3+1)=4 gate delays
© Dr. Prasenjit Dey
© Dr. Prasenjit Dey
Carry-look ahead logic
FA
s
3
P
3
G
3
c
3
P
2
G
2
c
2
s
2
G
1
c
1
P
1
s
1
G
0
c
0
P
0
s
0
c
4
B0
FA FA FA
A0B1 A1B2 A2B3 A3

More Related Content

More from Prasenjit Dey

Dynamic interconnection networks
Dynamic interconnection networksDynamic interconnection networks
Dynamic interconnection networksPrasenjit Dey
 
Machine Learning in Agriculture Module 6: classification
Machine Learning in Agriculture Module 6: classificationMachine Learning in Agriculture Module 6: classification
Machine Learning in Agriculture Module 6: classificationPrasenjit Dey
 
Machine Learning in Agriculture Module 3: linear regression
Machine Learning in Agriculture Module 3: linear regressionMachine Learning in Agriculture Module 3: linear regression
Machine Learning in Agriculture Module 3: linear regressionPrasenjit Dey
 
Machine learning in agriculture module 2
Machine learning in agriculture module 2Machine learning in agriculture module 2
Machine learning in agriculture module 2Prasenjit Dey
 
Machine Learning in Agriculture Module 1
Machine Learning in Agriculture Module 1Machine Learning in Agriculture Module 1
Machine Learning in Agriculture Module 1Prasenjit Dey
 
Support vector machine
Support vector machineSupport vector machine
Support vector machinePrasenjit Dey
 
Numerical on general pipelines
Numerical on general pipelinesNumerical on general pipelines
Numerical on general pipelinesPrasenjit Dey
 
General pipeline concepts
General pipeline conceptsGeneral pipeline concepts
General pipeline conceptsPrasenjit Dey
 
Evaluation of computer performance
Evaluation of computer performanceEvaluation of computer performance
Evaluation of computer performancePrasenjit Dey
 
Instruction Set Architecture: MIPS
Instruction Set Architecture: MIPSInstruction Set Architecture: MIPS
Instruction Set Architecture: MIPSPrasenjit Dey
 
Page replacement and thrashing
Page replacement and thrashingPage replacement and thrashing
Page replacement and thrashingPrasenjit Dey
 
Register transfer and microoperations part 2
Register transfer and microoperations part 2Register transfer and microoperations part 2
Register transfer and microoperations part 2Prasenjit Dey
 
Instruction set (prasenjit dey)
Instruction set (prasenjit dey)Instruction set (prasenjit dey)
Instruction set (prasenjit dey)Prasenjit Dey
 
Register transfer and microoperations part 1
Register transfer and microoperations part 1Register transfer and microoperations part 1
Register transfer and microoperations part 1Prasenjit Dey
 
Different types of memory and hardware designs of RAM and ROM
Different types of memory and hardware designs of RAM and ROMDifferent types of memory and hardware designs of RAM and ROM
Different types of memory and hardware designs of RAM and ROMPrasenjit Dey
 
Binary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithmBinary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithmPrasenjit Dey
 
Computer organization basics and number systems
Computer organization basics and number systemsComputer organization basics and number systems
Computer organization basics and number systemsPrasenjit Dey
 

More from Prasenjit Dey (20)

Dynamic interconnection networks
Dynamic interconnection networksDynamic interconnection networks
Dynamic interconnection networks
 
Machine Learning in Agriculture Module 6: classification
Machine Learning in Agriculture Module 6: classificationMachine Learning in Agriculture Module 6: classification
Machine Learning in Agriculture Module 6: classification
 
Machine Learning in Agriculture Module 3: linear regression
Machine Learning in Agriculture Module 3: linear regressionMachine Learning in Agriculture Module 3: linear regression
Machine Learning in Agriculture Module 3: linear regression
 
Machine learning in agriculture module 2
Machine learning in agriculture module 2Machine learning in agriculture module 2
Machine learning in agriculture module 2
 
Machine Learning in Agriculture Module 1
Machine Learning in Agriculture Module 1Machine Learning in Agriculture Module 1
Machine Learning in Agriculture Module 1
 
Support vector machine
Support vector machineSupport vector machine
Support vector machine
 
Numerical on general pipelines
Numerical on general pipelinesNumerical on general pipelines
Numerical on general pipelines
 
General pipeline concepts
General pipeline conceptsGeneral pipeline concepts
General pipeline concepts
 
Evaluation of computer performance
Evaluation of computer performanceEvaluation of computer performance
Evaluation of computer performance
 
Instruction Set Architecture: MIPS
Instruction Set Architecture: MIPSInstruction Set Architecture: MIPS
Instruction Set Architecture: MIPS
 
Page replacement and thrashing
Page replacement and thrashingPage replacement and thrashing
Page replacement and thrashing
 
Addressing mode
Addressing modeAddressing mode
Addressing mode
 
Register transfer and microoperations part 2
Register transfer and microoperations part 2Register transfer and microoperations part 2
Register transfer and microoperations part 2
 
Instruction set (prasenjit dey)
Instruction set (prasenjit dey)Instruction set (prasenjit dey)
Instruction set (prasenjit dey)
 
Register transfer and microoperations part 1
Register transfer and microoperations part 1Register transfer and microoperations part 1
Register transfer and microoperations part 1
 
Different types of memory and hardware designs of RAM and ROM
Different types of memory and hardware designs of RAM and ROMDifferent types of memory and hardware designs of RAM and ROM
Different types of memory and hardware designs of RAM and ROM
 
Cache memory
Cache  memoryCache  memory
Cache memory
 
Binary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithmBinary division restoration and non restoration algorithm
Binary division restoration and non restoration algorithm
 
Booth's algorithm
Booth's algorithm Booth's algorithm
Booth's algorithm
 
Computer organization basics and number systems
Computer organization basics and number systemsComputer organization basics and number systems
Computer organization basics and number systems
 

Recently uploaded

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 

Recently uploaded (20)

Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 

Carry look ahead adder

  • 2.  Ripple carry adder (RCA)  Drawbacks of RCA  Carry look ahead adder (CLA)  Generalized expression of carry vector  Hardware implementation of CLA © Dr. Prasenjit Dey
  • 3. © Dr. Prasenjit Dey C0 A0B0 S0 A1B1 S1 A2B2 S2 A3B3 S3 C1C2C3 C4 4-bit Ripple Carry Adder (RCA) FA1FA2FA3FA4 A3A2A1A0 +B3B2B1B0 0 0 0 0 1 1 0 1 0 0 1 0 1 0 1 0 sum carry0 1
  • 4.  In RCA the carry propagates from the 0th bit position to the nth bit position sequentially  Initially, 1st carry is generated, then from 1st carry, 2nd carry generates and so on.  Now, for nth bit addition we need the (n-1)th carry bit, which generates from the propagation of 0th carry bit(initial carry)  The large the value of n is, the larger the carry propagation time will be  Carry look-ahead (CLA) generates the all carry bits in advance from the input operands only  Thus, reduces carry propagation time  For nth bit addition, it doesn't need to wait for the (n-1)th carry bit to be propagates from the initial carry © Dr. Prasenjit Dey
  • 5.  Let us first took at the expression of sum & carry in full adder © Dr. Prasenjit Dey iiiiiii iiii cycxyxc cyxs   1 iiiiii iiii yxPandyxGwhere cPGc  1 )()( iiiiiiiiii xxcyyycxyx  iiiiiiiiiiiiii cyxcyxcyxcyxyx  iiiiiiiiiii cyxcyxcyxyx  )()(1 iiiiiiii cyxyxcyx  iiiiii cyxyxc )(1  iii cps  Pi = ith propagated Carry Gi = ith Generated Carry Gi and Pi are not dependent of ci
  • 6. © Dr. Prasenjit Dey iiii cPGc 1 00101212111 ......... cPPPGPPPPGPPGPGc iiiiiiiiiii   111   iiii cPGc )( 1111   iiiiii cPGPGc ))(( 222111   iiiiiiii cPGPGPGc )( 222111   iiiiiiiii cPGPPGPGc 2212111   iiiiiiiiiii cPPPGPPGPGc Putting the value of ci in (1) (1) Putting the value of ci-2 Generalized expression for Ci+1
  • 7. Carry Vector = [c4, c3, c2, c1, c0] c0 = cin c1 = c0p0 + g0 c2 = c1p1 + g1 = c0p0p1 + g0p1 + g1 c3=c2p2 + g2 = c0p0p1p2+g0p1p2+g1p2 + g2 c4 = c3p3 + g3= c0P0p1p2p3+g0p1p2p3+g1p2p3+g2p3 + g3 © Dr. Prasenjit Dey
  • 8.  When we already have A, B, Cin, we can get all the carries by 3 gate delays  1 gate delay for getting Pi and Gi  2 gate delays in the AND-OR circuit for ci+1  After getting all the carries, we can obtain the sum in 1 gate delay  In ideal scenario, n-bit addition requires (3+1)=4 gate delays © Dr. Prasenjit Dey
  • 9. © Dr. Prasenjit Dey Carry-look ahead logic FA s 3 P 3 G 3 c 3 P 2 G 2 c 2 s 2 G 1 c 1 P 1 s 1 G 0 c 0 P 0 s 0 c 4 B0 FA FA FA A0B1 A1B2 A2B3 A3