Computer Science I / Adders, Multiplexers, and Decoders
Practice question · Put in order

Order what happens when a four-bit ripple-carry adder computes a sum.

Hints
  1. Ask what each stage is waiting for before it can produce a settled answer.
  2. No stage except the rightmost has a valid carry-in at the start.
Show the answer
  1. The rightmost stage adds the two least significant bits together with the incoming carry
  2. Its carry-out arrives at the carry-in of the stage to its left
  3. That stage can now settle and produce its own sum bit and carry-out
  4. The carry travels left through each remaining stage in the same way
  5. The carry-out of the leftmost stage becomes the adder's final carry
Why

Each stage needs its carry-in before it can settle, so the stages finish one after another from right to left rather than all at once. Assuming the stages work in parallel is exactly the misconception that makes ripple-carry delay surprising, the sum bits appear in sequence, not simultaneously.

Read the lesson: Adders, Multiplexers, and Decoders →

Practise Adders, Multiplexers, and Decoders

The app has 7 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.

More questions on Adders, Multiplexers, and Decoders