What is Wallace tree?

A multiplier structure that reduces many partial products in parallel with a tree of carry-save adders. Its depth grows only logarithmically with width, so it is used in fast multipliers; a final adder sums the last two numbers.

Field: Computer Arithmetic

Japanese name: ウォレスツリー

How the partial products are reduced

Multiplying two n-bit numbers produces n rows of shifted partial products. A Wallace tree uses full adders as 3:2 compressors, each turning three bits into a sum and a carry, and at every level it combines rows three at a time into two. Carries are passed only to the next column and are not propagated within the level, so each level costs just one full-adder delay. Each level cuts the row count to about two thirds of what it was: 16 rows reach two after 6 levels, and 32 rows after 8.

Versus array multipliers and Dadda trees

An array multiplier adds the partial products one row after another; it is regular and easy to lay out, but its delay grows linearly with the bit width. A Wallace tree needs only a logarithmic number of levels, at the price of irregular wiring that complicates layout. The closely related Dadda tree reduces each level only as much as needed to reach a target row count; it has the same number of levels and tends to use fewer adders, but its final adder is slightly wider.

Use in real multipliers

Practical designs usually first apply radix-4 Booth encoding (a refinement of Booth's algorithm) to roughly halve the number of partial products, then reduce them with a tree. Instead of plain full adders, 4:2 compressors that turn four rows into two are often used to simplify the levels and wiring. The final two rows are summed by a fast adder such as a carry-lookahead adder. Such structures appear in CPU and GPU integer multipliers, in the significand multiplier of fused multiply-add (FMA) units, and in the multiply-accumulate units of DSPs and AI accelerators.

Try it: questions about Wallace tree

Which describes a Wallace tree used in fast multipliers?

  1. AA tree of carry-save adders reduces partial products in parallel, with logarithmic depth
  2. BPartial products are added one at a time in sequence, giving the smallest but slowest circuit
  3. CProducts are simply looked up in a table, with no adders at all
Show answer and explanation

Answer: A. A tree of carry-save adders reduces partial products in parallel, with logarithmic depth

An n-bit multiplication produces n partial products. A Wallace tree applies carry-save adders, which reduce three numbers to two, in parallel at each level, cutting the count to about two-thirds per level. The number of levels needed to reach two is therefore roughly logarithmic in the width, far faster than adding sequentially. A fast adder then sums the final two numbers. An array multiplier, which adds partial products in sequence, has a regular structure, but its delay grows in proportion to the width. Table lookup is impractical for large widths.

Books on Computer Arithmetic Ad

As an Amazon Associate I earn from qualifying purchases.

Comparisons that include this term

This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.

Back to the glossary