Skip to content
โšก Carry Look-Ahead Adder (CLA)

โšก Carry Look-Ahead Adder (CLA)

๐Ÿง  Overview

The Carry Look-Ahead Adder (CLA) is a fast binary adder architecture that computes carry signals in parallel using generate and propagate logic. Unlike ripple carry adders, which wait for each carry to ripple through sequentially, CLA predicts carry outcomes based on input bitsโ€”enabling faster addition.


๐Ÿ”ฃ Bitwise Inputs

Let A = Aโ‚™Aโ‚™โ‚‹โ‚...Aโ‚€ and B = Bโ‚™Bโ‚™โ‚‹โ‚...Bโ‚€ be two n-bit binary numbers. Each bit position i has:

  • Aแตข, Bแตข: input bits
  • Gแตข: generate signal
  • Pแตข: propagate signal
  • Cแตข: carry-in to bit i
  • Sแตข: sum output

โš™๏ธ Generate and Propagate Logic

๐Ÿ”ง Definitions

  • Generate: Gแตข = Aแตข ยท Bแตข โ†’ Carry is generated if both inputs are 1.
  • Propagate: Pแตข = Aแตข โŠ• Bแตข โ†’ Carry is propagated if exactly one input is 1.

๐Ÿ“Š Truth Table

AแตขBแตขGแตขPแตข๐Ÿงฉ Interpretation
0000No carry generated or propagated
0101Carry will propagate if present
1001Carry will propagate if present
1110Carry is generated locally

๐Ÿ” Carry Computation

๐Ÿงฎ Recursive Carry Logic

Given initial carry-in Cโ‚€, the carry-out for each bit is:

  • Cโ‚ = Gโ‚€ + Pโ‚€ ยท Cโ‚€
  • Cโ‚‚ = Gโ‚ + Pโ‚ ยท Cโ‚ = Gโ‚ + Pโ‚ ยท (Gโ‚€ + Pโ‚€ ยท Cโ‚€)
  • Cโ‚ƒ = Gโ‚‚ + Pโ‚‚ ยท Cโ‚‚ = Gโ‚‚ + Pโ‚‚ ยท (Gโ‚ + Pโ‚ ยท (Gโ‚€ + Pโ‚€ ยท Cโ‚€))
  • General form: Cแตขโ‚Šโ‚ = Gแตข + Pแตข ยท Cแตข

โž• Sum Logic

  • Sแตข = Pแตข โŠ• Cแตข

๐Ÿงท CLA Block Diagram (Visual Anchor)

           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   Aแตข โ”€โ”€โ”€โ”€โ”€โ–ถ            โ”‚
           โ”‚   AND      โ”œโ”€โ”€โ”€โ”€โ”€โ–บ Gแตข = Aแตข ยท Bแตข
   Bแตข โ”€โ”€โ”€โ”€โ”€โ–ถ            โ”‚
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   Aแตข โ”€โ”€โ”€โ”€โ”€โ–ถ            โ”‚
           โ”‚   XOR      โ”œโ”€โ”€โ”€โ”€โ”€โ–บ Pแตข = Aแตข โŠ• Bแตข โ”€โ”
   Bแตข โ”€โ”€โ”€โ”€โ”€โ–ถ            โ”‚                     โ”‚
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜                     โ–ผ
                                        โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
                                Cแตข โ”€โ”€โ”€โ”€โ”€โ–ถ            โ”‚
                                        โ”‚   AND      โ”œโ”€โ”€โ”€โ”€โ”€โ–บ Pแตข ยท Cแตข
                                Pแตข โ”€โ”€โ”€โ”€โ”€โ–ถ            โ”‚
                                        โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   Gแตข โ”€โ”€โ”€โ”€โ”€โ–ถ            โ”‚
           โ”‚   OR       โ”œโ”€โ”€โ”€โ”€โ”€โ–บ Cแตขโ‚Šโ‚ = Gแตข + Pแตข ยท Cแตข
Pแตข ยท Cแตข -โ”€โ”€โ–ถ            โ”‚
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

           โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
   Pแตข โ”€โ”€โ”€โ”€โ”€โ–ถ            โ”‚
           โ”‚   XOR      โ”œโ”€โ”€โ”€โ”€โ”€โ–บ Sแตข = Pแตข โŠ• Cแตข
   Cแตข โ”€โ”€โ”€โ”€โ”€โ–ถ            โ”‚
           โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

โœ… Advantages

  • โšก Speed: Parallel carry computation eliminates ripple delay
  • ๐Ÿงฉ Scalability: Suitable for wider bit-width adders
  • ๐Ÿงฑ Modularity: Can be chained for 8-bit, 16-bit, or 32-bit addition

โš ๏ธ Tradeoffs

  • ๐Ÿงฎ Gate Count: Requires more gates than ripple carry
  • ๐Ÿง  Complexity: Carry logic grows with bit-width
  • ๐Ÿ”‹ Power: Higher power consumption due to parallel logic

Last updated on