ArticleslgStudy

computer science

Dadda multiplier

Dadda multiplier is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Dadda multiplier rather than just read about it. In short: The Dadda multiplier is a hardware binary multiplier design invented by computer scientist Luigi Dadda 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.

Dadda multiplier — main illustration
Dadda multiplier — illustration

Key takeaways

  • Dadda multiplier belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Dadda multiplier to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Dadda multiplier from memory before moving on to harder problems.

Reference excerpt

The Dadda multiplier is a hardware binary multiplier design invented by computer scientist Luigi Dadda 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, but the different reduction tree reduces the required number of gates (for all but the smallest operand sizes) and makes it slightly faster (for all operand sizes). Both Dadda and Wallace multipliers have the same three steps for two bit strings w1 and w2 of lengths ℓ1 and ℓ2 respectively:

Multiply (logical AND) each bit of w1, by each bit of w2, yielding ℓ1⋅ℓ2 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 anbm has weight n+m. 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 dj, defined by:

d1=2, and dj+1=floor⁡(1.5dj). This yields a sequence like so:

d1=2,d2=3,d3=4,d4=6,d5=9,d6=13,… The initial value of j is chosen as the largest value such that dj<min⁡(n1,n2), where n1 and n2 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 j 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 dj. For each stage from ,…,1, reduce each column starting at the lowest-weight column, c0 according to these rules:

If height⁡(ci)⩽dj the column does not require reduction, move to column ci+1 If height⁡(ci)=dj+1 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 ci+1, then move to column ci+1 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 ci+1, restart ciat step 1

Algorithm example

The example in the adjacent image illustrates the reduction of an 8 × 8 multiplier, explained here. The initial state j=4 is chosen as d4=6, the largest value less than 8. Stage j=4, d4=6

height⁡(c0⋯c5) are all less than or equal to six bits in height, so no changes are made height⁡(c6)=d4+1=7, so a half-adder is applied, reducing it to six bits and adding its carry bit to c7 height⁡(c7)=9 including the carry bit from c6, so we apply a full-adder and a half-adder to reduce it to six bits height⁡(c8)=9 including two carry bits from c7, so we again apply a full-adder and a half-adder to reduce it to six bits height⁡(c9)=8 including two carry bits from c8, so we apply a single full-adder and reduce it to six bits height⁡(c10⋯c14) are all less than or equal to six bits in height including carry bits, so no changes are made Stage j=3, d3=4

height⁡(c0⋯c3) are all less than or equal to four bits in height, so no changes are made height⁡(c4)=d3+1=5, so a half-adder is applied, reducing it to four bits and adding its carry bit to c5 height⁡(c5)=7 including the carry bit from c4, so we apply a full-adder and a half-adder to reduce it to four bits height⁡(c6⋯c10)=8 including previous carry bits, so we apply two full-adders to reduce them to four bits height⁡(c11)=6 including previous carry bits, so we apply a full-adder to reduce it to four bits height⁡(c12⋯c14) are all less than or equal to four bits in height including carry bits, so no changes are made Stage j=2, d2=3

height⁡(c0⋯c2) are all less than or equal to three bits in height, so no changes are made height⁡(c3)=d2+1=4, so a half-adder is applied, reducing it to three bits and adding its carry bit to c4 height⁡(c4⋯c12)=5 including previous carry bits, so we apply one full-adder to reduce them to three bits height⁡(c13⋯c14) are all less than or equal to three bits in height including carry bits, so no changes are made Stage j=1, d1=2

height⁡(c0⋯c1) are all less than or equal to two bits in height, so no changes are made height⁡(c2)=d1+1=3, so a half-adder is applied, reducing it to two bits and adding its carry bit to c3 height⁡(c3⋯c13)=4 including previous carry bits, so we apply one full-adder to reduce them to two bits height⁡(c14)=2 including the carry bit from c13, 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 Fused multiply–add Wallace tree BKM algorithm for complex logarithms and exponentials Kochanski multiplication for modular multiplication

References

Further reading Savard, John J. G. (2018) [2006]. "Advanced Arithmetic Techniques". quadibloc. Archived from the original on 2018-07-03. Retrieved 2018-07-16.

Illustrations

Dadda multiplier: 4 layer Dadda reduction of an 8x8 partial product matrix, using 7 half adders (two dots) and 35 full adders (three dots). The dots in each column are bits of equal weight. Bits with lower weight are rightmost.
4 layer Dadda reduction of an 8x8 partial product matrix, using 7 half adders (two dots) and 35 full adders (three dots). The dots in each column are bits of equal weight. Bits with lower weight are rightmost.

Worked examples

Example 1 — a first encounter with Dadda multiplier

Start with the simplest possible case. Write down what Dadda multiplier claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Dadda multiplier before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Dadda multiplier ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Dadda multiplier

In research
Dadda multiplier appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Dadda multiplier in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Dadda multiplier is common in secondary-school and first-year university syllabi. It links to neighbouring topics 1965 in computing, 1965 introductions, Arithmetic logic circuits, so understanding it makes those chapters shorter.
In everyday life
Look for Dadda multiplier outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Dadda multiplier” →

How to study Dadda multiplier in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Dadda multiplier means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Dadda multiplier out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Dadda multiplier in simple terms?

The Dadda multiplier is a hardware binary multiplier design invented by computer scientist Luigi Dadda 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.

Why does Dadda multiplier matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Dadda multiplier?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Dadda multiplier.

Tags

  • 1965 in computing
  • 1965 introductions
  • Arithmetic logic circuits
  • Computer arithmetic
  • Multiplication

Keep exploring