The carry chain

You will learn

Why a carry walks the whole word, and how the dedicated chain of a slice makes the walk cheap.

Bit i of a + b is the XOR of a_i, b_i and the carry into it, and the carry out is their majority. A carry made at bit 0 of 127 + 1 has to pass through bits 1 to 6 before the top bit knows its answer: the widget lights that run of 7. Recomputing the carry in a LUT costs a LUT and a route per bit; the dedicated chain of a 7-series slice costs one LUT and one route, then one hop per bit, in CARRY4 blocks of 4 bits. The spec adders.t27 states both models and leaves the three delays to you.

Open the interactive lesson →