ArticleslgStudy

science

Adder (electronics)

Adder (electronics) is a 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 Adder (electronics) rather than just read about it. In short: An adder, or summer, is a digital circuit that performs addition of numbers. In many computers and other kinds of processors, adders are used in the arithmetic logic units (ALUs).

Adder (electronics) — main illustration
Adder (electronics) — illustration

Key takeaways

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

Reference excerpt

An adder, or summer, is a digital circuit that performs addition of numbers. In many computers and other kinds of processors, adders are used in the arithmetic logic units (ALUs). They are also used in other parts of the processor, where they are used to calculate addresses, table indices, increment and decrement operators and similar operations. Although adders can be constructed for many number representations, such as binary-coded decimal or excess-3, the most common adders operate on binary numbers. In cases where two's complement or ones' complement is being used to represent negative numbers, it is trivial to modify an adder into an adder–subtractor. Other signed number representations require more logic around the basic adder.

History George Stibitz invented the 2-bit binary adder (the Model K) in 1937.

Binary adders

Half adder The half adder adds two single binary digits A and B. It has two outputs, sum (S) and carry (C). The carry signal represents an overflow into the next digit of a multi-digit addition. The value of the sum is 2C+S. The simplest half-adder design incorporates an XOR gate for S and an AND gate for C. The Boolean logic for the sum (in this case S) will be A⊕B whereas for the carry (C) will be A⋅B. With the addition of an OR gate to combine their carry outputs, two half adders can be combined to make a full adder. The truth table for the half adder is:

Various half adder digital logic circuits:

Full adder A full adder adds binary numbers and accounts for values carried in as well as out. A one-bit full-adder adds three one-bit numbers, often written as A, B, and Cin; A and B are the operands, and Cin is a bit carried in from the previous less-significant stage. The circuit produces a two-bit output. Output carry and sum are typically represented by the signals Cout and S, where the sum equals 2Cout+S. The full adder is usually a component in a cascade of adders, which add 8, 16, 32, etc. bit binary numbers. A full adder can be implemented in many different ways such as with a custom transistor-level circuit or composed of other gates. The most common implementation is with:

S=A⊕B⊕Cin Cout=(A⋅B)+(Cin⋅(A⊕B)) The above expressions for S and Cout can be derived from using a Karnaugh map to simplify the truth table. In this implementation, the final OR gate before the carry-out output may be replaced by an XOR gate without altering the resulting logic. This is because when A and B are both 1, the term (A⊕B) is always 0, and hence (Cin⋅(A⊕B)) can only be 0. Thus, the inputs to the final OR gate can never be both 1 (this is the only combination for which the OR and XOR outputs differ). Due to the functional completeness property of the NAND and NOR gates, a full adder can also be implemented using nine NAND gates, or nine NOR gates. Using only two types of gates is convenient if the circuit is being implemented using simple integrated circuit chips which contain only one gate type per chip. A full adder can also be constructed from two half adders by connecting A and B to the input of one half adder, then taking its sum-output S as one of the inputs to the second half adder and Cin as its other input, and finally the carry outputs from the two half-adders are connected to an OR gate. The sum-output from the second half adder is the final sum output (S) of the full adder and the output from the OR gate is the final carry output (Cout). The critical path of a full adder runs through both XOR gates and ends at the sum bit S. Assumed that an XOR gate takes 1 delays to complete, the delay imposed by the critical path of a full adder is equal to:

TFA=2⋅TXOR=2D The critical path of a carry runs through one XOR gate in adder and through 2 gates (AND and OR) in carry-block and therefore, if AND or OR gates take 1 delay to complete, has a delay of:

Tc=TXOR+TAND+TOR=D+D+D=3D The truth table for the full adder is:

Inverting all inputs of a full adder also inverts all of its outputs, which can be used in the design of fast ripple-carry adders, because there is no need to invert the carry. Various full adder digital logic circuits:

Adders supporting multiple bits

Ripple-carry adder

It is possible to create a logical circuit using multiple full adders to add N-bit numbers. Each full adder inputs a Cin, which is the Cout of the previous adder. This kind of adder is called a ripple-carry adder (RCA), since each carry bit "ripples" to the next full adder. The first (and only the first) full adder may be replaced by a half adder (under the assumption that Cin=0). The layout of a ripple-carry adder is simple, which allows fast design time; however, the ripple-carry adder is relatively slow, since each full adder must wait for the carry bit to be calculated from the previous full adder. The gate delay can easily be calculated by inspection of the full adder circuit. Each full adder requires three levels of logic. In a 32-bit ripple-carry adder, there are 32 full adders, so the critical path (worst case) delay is 3 (from input to Cout of first adder) + 31 × 2 (for carry propagation in latter adders) = 65 gate delays. The general equation for the worst-case delay for a n-bit carry-ripple adder, accounting for both the sum and carry bits, is:

TCRA(n)=THA+(n−1)⋅Tc+Ts=TFA+(n−1)⋅Tc=3D+(n−1)⋅2D=(2n+1)⋅D A design with alternating carry polarities and optimized AND-OR-Invert gates can be about twice as fast.

Carry-lookahead adder (Weinberger and Smith, 1958)

… excerpt ends here. Continue reading the full article.

Illustrations

Adder (electronics) illustration
Adder (electronics) illustration
Adder (electronics) illustration
Adder (electronics) illustration
Adder (electronics) illustration

Worked examples

Example 1 — a first encounter with Adder (electronics)

Start with the simplest possible case. Write down what Adder (electronics) claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In 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 Adder (electronics) 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 Adder (electronics) 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 Adder (electronics)

In research
Adder (electronics) appears in 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 Adder (electronics) 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
Adder (electronics) is common in secondary-school and first-year university syllabi. It links to neighbouring topics Adders (electronics), Binary arithmetic, so understanding it makes those chapters shorter.
In everyday life
Look for Adder (electronics) 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 “Adder (electronics)” →

How to study Adder (electronics) in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Adder (electronics) 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 Adder (electronics) out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Adder (electronics) in simple terms?

An adder, or summer, is a digital circuit that performs addition of numbers. In many computers and other kinds of processors, adders are used in the arithmetic logic units (ALUs).

Why does Adder (electronics) matter?

Because it connects several 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 Adder (electronics)?

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 Adder (electronics).

Tags

  • Adders (electronics)
  • Binary arithmetic

Keep exploring