Full adders chain into multi-bit adders, and hardware multipliers add shifted copies.
Many MACs in parallel power AI matrix math, and an ALU picks one result from its units.
SI100B · Electrical Engineering
Xin Lou
School of Information Science and Technology · Fall 2026How much arithmetic does one token need?
A full adder adds two bits and a carry-in, producing a sum and a carry-out.
Each sum bit depends on all previous carries.
Chaining full adders lets each carry bit ripple from right to left.
The carry moves one stage per step, so the final sum appears at T = 4.
A bus bundles multiple wires together; its bit width sets how many bits travel at once.


Moving every binary digit one place left and putting a 0 on the right multiplies by 2.


Four 4-bit partial products add up to an 8-bit product.
Every bit of the multiplier selects one shifted copy of the multiplicand.
Each partial product is X AND Yᵢ: a copy of X when Yᵢ = 1, a row of zeros when Yᵢ = 0.
4 × 4 two-input ANDs and three 4-bit adders.
Independent additions run at the same time to combine partial products faster.



A MAC unit multiplies two numbers and adds the product to a running total.
Each generated token takes about one multiply and one add per active parameter.


TOP500 No. 1 systems grew from 60 GFLOP/s (1993) to 2.2 EFLOP/s (LineShine, June 2026).
A grid of MAC units runs many multiply-adds at the same time.
Data flows between neighboring MACs; Google’s TPU v1 used a 256 × 256 array.
Strassen showed two 2 × 2 matrices can be multiplied using 7 products instead of 8.
AI systems found fewer multiplications for 4 × 4 matrices in different number systems.
Tensor Cores compute small matrix multiply-adds (D = A \times B + C) in one unit.

A comparator checks whether two numbers are equal or which one is smaller.
An ALU combines arithmetic and logic operations in one processor block.
All units compute in parallel, and a selector picks the result chosen by the instruction.

Full adders chain into multi-bit adders, and hardware multipliers add shifted copies.
Many MACs in parallel power AI matrix math, and an ALU picks one result from its units.
Details to be announced