Following a Carry Through an Adder

Connecting full adders lets each position's carry feed the next higher position. A carry may need to traverse several gate stages before the result settles.

Source
Anbloq
Language
English
Created
Updated
Chapters
4
Reading time
1 min
In this article4 chapters
  1. Trace a long propagation
  2. Distinguish logical result and timing
  3. Choose operands whose carry crosses several positions
  4. Specify when the output is safe to sample

Trace a long propagation

Adding one to 0111 can generate a carry from the units column through the next two ones before creating 1000. Binary columns show which stages depend on preceding stages.

Distinguish logical result and timing

A circuit can implement the correct arithmetic truth table and still need a specified interval before sampling. Arranging carry logic differently can reduce the longest serial path. See full adders for the individual stages.[1]

Choose operands whose carry crosses several positions

Adding one to 0111 generates a carry in the least significant column and passes it through the next two columns. The high column receives it and emits a one. An input with zero in the next column can stop carry propagation sooner. See binary carries.

Add 0111 + 0001
Position 0: 1+1 → sum 0, carry 1
Position 1: 1+0+1 → sum 0, carry 1
Position 2: same, carry 1
Position 3: 0+0+1 → sum 1, carry 0

Specify when the output is safe to sample

A ripple path moves a signal through a series of dependent gates. Worst-case settling includes the longest relevant path and depends on physical implementation. Test stable logical behavior and analyze timing separately.

References

  1. Noam Nisan and Shimon Schocken, From Nand to Tetris: Course Projects ↩