The Dadda multiplier is a hardware
binary multiplier
A binary multiplier is an electronic circuit used in digital electronics, such as a computer, to multiply two binary numbers.
A variety of computer arithmetic techniques can be used to implement a digital multiplier. Most techniques involve com ...
design invented by computer scientist
Luigi Dadda
Luigi Dadda (April 29, 1923 – October 26, 2012) was an Italian computer engineer, best known for the design of the Dadda multiplier and as one of the first researchers on modern computers in Italy. He was rector at the Politecnico di Mila ...
in 1965.
It uses a selection of
full and half adders to sum the partial products in stages (the Dadda tree or Dadda reduction) until two numbers are left. The design is similar to the
Wallace multiplier
A Wallace multiplier is a hardware implementation of a binary multiplier, a digital circuit that multiplies two integers. It uses a selection of full and half adders (the Wallace tree or Wallace reduction) to sum partial products in stages unt ...
, but the different reduction tree reduces the required number of
gates
Gates is the plural of gate, a point of entry to a space which is enclosed by walls. It may also refer to:
People
* Gates (surname), various people with the last name
* Gates Brown (1939-2013), American Major League Baseball player
* Gates McFa ...
(for all but the smallest operand sizes) and makes it slightly faster (for all operand sizes).
Dadda and Wallace multipliers have the same three steps for two bit strings
and
of lengths
and
respectively:
# Multiply (
logical AND
In logic, mathematics and linguistics, And (\wedge) is the truth-functional operator of logical conjunction; the ''and'' of a set of operands is true if and only if ''all'' of its operands are true. The logical connective that represents thi ...
) each bit of
, by each bit of
, yielding
results, grouped by weight in columns
# Reduce the number of partial products by stages of
full and half adders until we are left with at most two bits of each weight.
# Add the final result with a conventional adder.
As with the Wallace multiplier, the multiplication products of the first step carry different weights reflecting the magnitude of the original bit values in the multiplication. For example, the product of bits
has weight
.
Unlike Wallace multipliers that reduce as much as possible on each layer, Dadda multipliers attempt to minimize the number of gates used, as well as input/output delay. Because of this, Dadda multipliers have a less expensive reduction phase, but the final numbers may be a few bits longer, thus requiring slightly bigger adders.
Description

To achieve a more optimal final product, the structure of the reduction process is governed by slightly more complex rules than in Wallace multipliers.
The progression of the reduction is controlled by a maximum-height sequence
, defined by:
:
This yields a sequence like so:
:
The initial value of
is chosen as the largest value such that
, where
and
are the number of bits in the input multiplicand and multiplier. The lesser of the two bit lengths will be the maximum height of each column of weights after the first stage of multiplication. For each stage
of the reduction, the goal of the algorithm is the reduce the height of each column so that it is less than or equal to the value of
.
For each stage from
, reduce each column starting at the lowest-weight column,
according to these rules:
# If
the column does not require reduction, move to column
# If
add the top two elements in a half-adder, placing the result at the bottom of the column and the carry at the bottom of column
, then move to column
# Else, add the top three elements in a full-adder, placing the result at the bottom of the column and the carry at the bottom of column
, restart
at step 1
Algorithm example

The example in the adjacent image illustrates the reduction of an 8 × 8 multiplier, explained here.
The initial state
is chosen as
, the largest value less than 8.
Stage
,
*
are all less than or equal to six bits in height, so no changes are made
*
, so a half-adder is applied, reducing it to six bits and adding its carry bit to
*
including the carry bit from
, so we apply a full-adder and a half-adder to reduce it to six bits
*
including two carry bits from
, so we again apply a full-adder and a half-adder to reduce it to six bits
*
including two carry bits from
, so we apply a single full-adder and reduce it to six bits
*
are all less than or equal to six bits in height including carry bits, so no changes are made
Stage
,
*
are all less than or equal to four bits in height, so no changes are made
*
, so a half-adder is applied, reducing it to four bits and adding its carry bit to
*
including the carry bit from
, so we apply a full-adder and a half-adder to reduce it to four bits
*
including previous carry bits, so we apply two full-adders to reduce them to four bits
*
including previous carry bits, so we apply a full-adder to reduce it to four bits
*
are all less than or equal to four bits in height including carry bits, so no changes are made
Stage
,
*
are all less than or equal to three bits in height, so no changes are made
*
, so a half-adder is applied, reducing it to three bits and adding its carry bit to
*
including previous carry bits, so we apply one full-adder to reduce them to three bits
*
are all less than or equal to three bits in height including carry bits, so no changes are made
Stage
,
*
are all less than or equal to two bits in height, so no changes are made
*
, so a half-adder is applied, reducing it to two bits and adding its carry bit to
*
including previous carry bits, so we apply one full-adder to reduce them to two bits
*
including the carry bit from
, so no changes are made
Addition
The output of the last stage leaves 15 columns of height two or less which can be passed into a standard adder.
See also
*
Booth's multiplication algorithm
Booth's multiplication algorithm is a multiplication algorithm that multiplies two signed binary numbers in two's complement notation. The algorithm was invented by Andrew Donald Booth in 1950 while doing research on crystallography at Birkbeck Co ...
*
Fused multiply–add
Fuse or FUSE may refer to:
Devices
* Fuse (electrical), a device used in electrical systems to protect against excessive current
** Fuse (automotive), a class of fuses for vehicles
* Fuse (hydraulic), a device used in hydraulic systems to protec ...
*
Wallace tree
A Wallace multiplier is a hardware implementation of a binary multiplier, a digital circuit that multiplies two integers. It uses a selection of full and half adders (the Wallace tree or Wallace reduction) to sum partial products in stages unt ...
*
BKM algorithm
The BKM algorithm is a shift-and-add algorithm for computing elementary functions, first published in 1994 by Jean-Claude Bajard, Sylvanus Kla, and Jean-Michel Muller. BKM is based on computing complex logarithms (''L-mode'') and exponentials ('' ...
for complex logarithms and exponentials
*
Kochanski multiplication Kochanski multiplication is an algorithm that allows modular arithmetic (multiplication or operations based on it, such as exponentiation) to be performed efficiently when the modulus is large (typically several hundred bits). This has particular ...
for
modular
Broadly speaking, modularity is the degree to which a system's components may be separated and recombined, often with the benefit of flexibility and variety in use. The concept of modularity is used primarily to reduce complexity by breaking a s ...
multiplication
References
Further reading
* {{cite web , title=Advanced Arithmetic Techniques , first=John J. G. , last=Savard , date=2018 , orig-year=2006 , work=quadibloc , url=http://www.quadibloc.com/comp/cp0202.htm , access-date=2018-07-16 , url-status=live , archive-url=https://web.archive.org/web/20180703001722/http://www.quadibloc.com/comp/cp0202.htm , archive-date=2018-07-03
Arithmetic logic circuits
Computer arithmetic
Multiplication
1965 introductions
1965 in computing