3.3.12 · D1Combinational Circuits

Foundations — Combinational multipliers

2,231 words10 min readBack to topic

This page assumes you know nothing beyond counting. We will build every symbol the parent note throws at you — , , , , , "shift", "carry" — one brick at a time, each with a picture, before it is ever used in anger.


1. What a binary digit even is

Why does hardware love this? Because a wire is easy to build with exactly two states — low voltage or high voltage. So every number inside a chip is a row of switches.

Compare it to the decimal digits you know: a decimal digit has ten choices ( through ); a bit has only two. That is the only difference, and it makes everything simpler, as you will see.

See Binary Number System for the full number system; here we only need enough to read the parent note.


2. Column weights — the meaning of

You already know decimal column weights without naming them. In the number :

  • the sits in the "ones" column, worth ,
  • the sits in the "tens" column, worth ,
  • the sits in the "hundreds" column, worth .

So . Each column is ten times the one to its right.

Binary does the exact same thing, but each column is two times the one to its right.

Figure — Combinational multipliers

Why the topic needs this. The whole multiplier formula ends in a factor . That factor is a pure column address — it tells the circuit which column a bit belongs in. You cannot read the master formula without reading as "which column."


3. The subscript notation and

The parent note writes a number as . That looks scary; it is just naming each bit by its column number.

So the binary number has , and its value is


4. What and mean, and "width"

Why does the last column have subscript and not ? Because we start counting at . If you have columns and the first is column , the last is column . (Four columns: — the last is .)

Why the topic needs it. The famous result "-bit × -bit needs bits" is pure width bookkeeping. You must be comfortable that "width" counts columns and that counting starts at zero.


5. The sum symbol — long addition written short

The parent writes . This is the same column expansion we just did, only compressed.

Unrolled for :

That is exactly the column expansion of section 3 — nothing new, just a shorthand so we don't have to write "and so on."

Figure — Combinational multipliers

In the figure, each grid cell is one pair ; the double sum simply promises to touch every cell. That grid is the array multiplier's layout.


6. The AND operation — "copy or zero"

Now the punchline the parent leans on: multiply two single bits and you get the AND table. , , , . Identical. So for bits,

See AND Gate for the physical gate. Do not confuse this with XOR (next section) — that is the single most common mistake in the parent note.


7. The XOR operation and "carry" — how a column adds

Forming products was multiplication (AND). Summing the products is addition, and one-bit addition needs two new ideas.

Look at the last row: . In binary that is — a in this column and a that must move to the next column left. That moved bit is the carry.

Figure — Combinational multipliers

8. "Shift left by " — the meaning of the factor

On paper you slide each row one place left as you go down. "Sliding one place left" is exactly "multiply by the base."

Example: . Shift left by : . Shift left by : .

Why the topic needs it. The multiplier's row (its partial product ) is worth times more than row , so it must be planted columns further left before adding. In the master formula this is the exponent piece: — the column of bit () shifted by the row's weight ().


9. Big-O notation — a size label, not a number

The parent claims delay is and cost is .

Why the topic needs it. It lets us compare designs without wiring them up: an array multiplier is delay / area, while a Wallace Tree cuts delay to . The grid picture makes both obvious: area = number of cells (); delay = length of the longest path across the grid (about ).


How the foundations feed the topic

Bit 0 or 1

Column weight 2 to the i

Subscript ai and bj

Width n and m

Sum symbol sigma

AND copy or zero

XOR and carry

Shift left by j

Combinational multiplier

Delay and cost big-O

Every arrow says "you need the left idea to understand the right one." Multiplication sits where copy-or-zero (AND), add-with-carry (XOR), shift by weight, and sum over a grid meet.


Equipment checklist

Read a binary number's value from its bits
Multiply each bit by its column weight and add: .
Meaning of the subscript in
The bit of in column , which has weight .
Why the top bit of an -bit number is not
Columns are counted from , so columns end at index .
Unroll
.
What does the double sum visit
Every pair exactly once — every cell of the grid.
Truth value of and why AND = single-bit multiply
; the AND table matches for bits exactly.
Sum bit and carry when adding
Sum , carry (result ).
Value of shifted left by , and why
, because shifting left by multiplies by .
What tells you when doubles
The quantity grows roughly four-fold (area-like growth).
Which operation forms a partial product, which one sums them
AND () forms products; XOR () with carry sums them.

Connections