Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • Logic Synthesis Glossary
  • Logic Synthesis Cheatsheet
  • Synthesis Foundations14
  • Logic Optimisation and Mapping20
  • Constraints and Timing15
  • Sequential, FSM and Memory19
  • Datapath Synthesis14
    • Adders and Carry Structures
      • Ripple-Carry Adders
      • Carry-Lookahead Adders
      • Carry-Select Adders
      • Prefix Adders
      • The Plus Operator and Carry-Save Addition
    • Multipliers and Compressors
    • Resource Sharing and Arithmetic Inference
  • Area, Power and Test14
  • Verification, ECO and Handoff15
  • Flows and Debugging15
  • Interview and Judgment11
Loading lesson

‹Adders and Carry Structures
  1. Topics
  2. Logic Synthesis
  3. Datapath Synthesis
  4. Adders and Carry Structures
  5. Ripple-Carry Adders

Part 5 · Datapath Synthesis · Intermediate

Ripple-Carry Adders

How a ripple-carry adder chains full adders and why its delay grows with width.

On this page

    The full adder

    A full adder adds three bits: a, b, and a carry-in. It produces a sum bit and a carry-out.

    The sum is odd parity, and the carry is majority. That gives s = a ^ b ^ cin and cout = (a & b) | (cin & (a ^ b)).

    a

    b

    cin

    s

    cout

    0

    0

    0

    0

    0

    0

    0

    1

    1

    0

    0

    1

    0

    1

    0

    0

    1

    1

    0

    1

    1

    0

    0

    1

    0

    1

    0

    1

    0

    1

    1

    1

    0

    0

    1

    1

    1

    1

    1

    1

    Chaining the carry

    An N-bit ripple-carry adder uses N full adders. The carry-out of bit i feeds the carry-in of bit i plus 1.

    Carry chain through four full adders.
    Each carry waits for the bit below, so the top bit settles last.

    Delay and area

    Delay grows linearly: N carry stages. Area grows linearly too: N full adders plus no extra control.

    The calc block below uses EXAMPLE stage delays, not measured silicon. Both rows follow one multiplication each.

    Diagram
    EXAMPLE parameters (not measured silicon): one carry stage = 3 delay units
    4-bit ripple: 4 x 3 = 12 units
    16-bit ripple: 16 x 3 = 48 units
    ratio: 48 / 12 = 4 for 4x width (linear growth)

    Common mistakes

    Common pitfall

    Reading the final carry-out as the signed overflow flag. Carry-out is unsigned overflow; signed overflow is carry-in to the top bit XOR carry-out of it.

    Interview

    Likely probes: depth, area, and the overflow distinction.

    • Depth is N carry stages and area is N full adders.

    • Signed overflow is top-bit carry-in XOR carry-out, not carry-out alone.

    • Ripple fits narrow, slow paths where area matters most.

    Check yourself A 4-bit ripple stage costs 3 EXAMPLE units. What do 4-bit and 16-bit ripples cost, and what growth is that?

    12 units and 48 units. The ratio is 4 for 4x width, which is linear growth.

    Check yourself An 8-bit add of 200 plus 100 gives carry-out 1. Is that signed overflow?

    Carry-out alone cannot say. Signed overflow needs top-bit carry-in XOR carry-out; 200 and 100 are not valid signed 8-bit values anyway.

    Related topics

    • Carry-lookahead adders

    • Arithmetic blocks

    Previous

    71 / 139

    Next: Carry-Lookahead Adders

    Up next

    Up nextCarry-Lookahead Adders

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Carry-Select Adders
    • Prefix Adders
    • The Plus Operator and Carry-Save Addition