3.3.3 · D1Combinational Circuits

Foundations — Carry-lookahead adder

1,852 words8 min readBack to topic

This page assumes you have seen nothing. We build every letter, sign, and picture the parent note uses, in an order where each brick rests on the one below it. If a symbol appears in the parent, it appears here first — defined in plain words, anchored to a picture, and justified.


0 · Bits, and what "add" even means here

We write multi-bit numbers most-significant on the left, like . The rightmost digit is position , the next is position , and so on. We call the digit at position of number by the name .

Figure — Carry-lookahead adder

1 · The three logic operations

Everything in the parent note is built from exactly three operations on bits. We meet each with its picture — a truth table, which simply lists the answer for every possible input.

Figure — Carry-lookahead adder

2 · The carry — the star of the whole show

Figure — Carry-lookahead adder

3 · The full-adder equations (what the parent starts from)

A Full Adder is the one-column machine. Given , , and incoming carry it produces a sum digit and a carry-out:

Now read every symbol you already own:

  • — the sum digit (XOR of all three inputs: is the number of s odd?).
  • — AND: "both inputs are ," which by itself forces a carry.
  • — "the inputs disagree AND a carry came in": that combination also pushes a carry out.

4 · Generate and Propagate — the two predictors


5 · The two reading symbols: and

The parent's general formula uses two shorthand symbols. Both are just "do this to a list."


6 · Delay language: "gate delay" and


Prerequisite map

Bits 0 and 1

Position index a_i b_i

AND written as product

OR written as plus

XOR written as circled plus

Carry c_i and c_i+1

Full adder equations

Generate g_i and Propagate p_i

Sum and Product notation

Gate delay and O of n

Carry-lookahead adder


Equipment checklist

What is a bit, in one lamp-word?
A single digit, either 0 (off) or 1 (on).
What does the subscript in mean?
A position label — "bit number " — not multiplication.
When is (AND) equal to 1?
Only when both and are 1.
When is (OR) equal to 1?
When at least one of them is 1.
When is (XOR) equal to 1?
When the two bits differ (disagree).
Why is XOR the sum digit of two bits?
Its table matches (ignoring carry).
What is ?
The carry coming into position ; is the carry it sends out.
What does generate mean?
This column makes a carry no matter what comes in.
What does propagate mean?
This column forwards whatever carry arrives.
Why can be computed instantly?
They use only — no carry needed.
What does mean?
AND together through .
What does delay mean?
The delay grows in proportion to the number of bits.

Connections

  • Carry-lookahead adder — the parent topic these foundations feed.
  • Full Adder — the one-column machine whose equations we unpack.
  • Ripple-Carry Adder — the slow baseline whose carry-wait we diagnose.
  • Boolean Algebra — the rulebook for AND, OR, XOR used throughout.
  • Propagation Delay & Fan-in — where "gate delay" and come from.