Nepedia
Back to Discover
Advanced Reader
💻

Adder (electronics)

technology Maturity 7-9 Next article →

An adder, sometimes called a summer, is a digital circuit designed to perform addition. These circuits are essential components in modern technology. You will find them inside arithmetic logic units, or ALUs, within many computers and processors. Beyond basic math, adders help processors calculate memory addresses and table indices. They also handle increment and decrement operators. While adders can work with various number systems like binary-coded decimal, most commonly operate on binary numbers.

4-bit ripple carry adder
4-bit ripple carry adder

The simplest form of this circuit is the half adder. A half adder processes two single binary digits. It produces two specific outputs: a sum (S) and a carry (C). The carry represents an overflow that moves into the next digit during multi-digit addition. In a basic design, an XOR gate creates the sum, while an AND gate creates the carry.

RippleCarry2
RippleCarry2

A more advanced version is the full adder. A one-bit full adder can process three one-bit numbers at once. These inputs are usually two operands and a carry-in (Cin) from a previous stage. The circuit produces a two-bit output consisting of a sum (S) and a carry-out (Cout). Full adders are often used in large cascades to add 8, 16, or 32-bit binary numbers. You can build a full adder using two half adders connected by an OR gate. It can also be made using only NAND gates or only NOR gates.

4-bit carry lookahead adder
4-bit carry lookahead adder

One common way to arrange these is the ripple-carry adder (RCA). In an RCA, multiple full adders are linked together in a chain. Each full adder receives a carry-in bit from the previous stage. The carry bit "ripples" through the chain from one adder to the next. This design is simple and fast to create. However, it is relatively slow because each stage must wait for the carry signal. For example, a 32-bit ripple-carry adder might require 65 gate delays to complete its task.

64-bit lookahead carry unit
64-bit lookahead carry unit

To solve the speed issues of ripple-carry designs, researchers developed faster architectures. In 1958, Weinberger and Smith introduced the carry-lookahead adder (CLA). This design uses special signals to predict carries. These signals include propagate (P) and generate (G) values. A carry is generated if both inputs are 1. A carry is propagated if at least one input is 1. This allows the circuit to calculate carries for many bit positions at once. Other advanced designs include the Brent–Kung adder and the Kogge–Stone adder.

4-bit carry lookahead adder
4-bit carry lookahead adder

Other specialized architectures exist to optimize performance. Carry-skip adders work with entire blocks of bits rather than single bits. Carry-select adders improve speed by pre-generating sum and carry values for both possible carry inputs. If a circuit needs to add three or more numbers, engineers use carry-save adders. These act as 3:2 compressors, which map eight input values to four output values. This method avoids propagating the carry immediately, which speeds up the process. This technique is famously used in Dadda and Wallace multipliers.

Quantum Full Adder
Quantum Full Adder

As technology evolves, even new fields like quantum computing use adders. Quantum full adders can be produced using specific quantum logic gates. These include the Toffoli gate and the CNOT gate. These circuits can also be used in classical reversible computation. Furthermore, analog adders exist for non-binary signals. An analog adder, or summing amplifier, combines two input currents to find a sum. This can help reduce the number of transistors needed in certain circuits.

573 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (5)
File:4-bit ripple carry adder.svg
4-bit ripple carry adder.svg
File:RippleCarry2.gif
RippleCarry2.gif
File:4-bit carry lookahead adder.svg
4-bit carry lookahead adder.svg
File:64-bit lookahead carry unit.svg
64-bit lookahead carry unit.svg
File:Quantum Full Adder.png
Quantum Full Adder.png
More to explore

🔬 Go deeper

More advanced topics to explore

🪜 Step back

Simpler topics to build understanding

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.