Chapter 4 Lesson Adders
Chapter 4 Lesson Adders
OUTPUT=f(INPUT)
Inputs are called Excitation from circuits and outputs are called Response of combinational
logic circuits.
1. Arithmetic:
Adders
Subtractors
Multipliers
Comparators
2. Data Handling:
Multiplexers
DeMultiplexers
Encoders and Decoders
3. Code Converters:
A combinational logic circuit that performs the addition of two single bits is called Half Adder.
A combinational logic circuit that performs the addition of three single bits is called Full
Adder.
Adder circuit is a combinational digital circuit that is used for adding two numbers.
A typical adder circuit produces a sum bit (denoted by S) and a carry bit (denoted by C)
as the output. Typically adders are realized for adding binary numbers but they can be
also realized for adding other formats like BCD (binary coded decimal, XS-3 etc. Besides
addition, adder circuits can be used for a lot of other applications in digital electronics
like address decoding, table index calculation etc. Adder circuits are of two types: Half
adder ad Full adder.
Half adder is a combinational arithmetic circuit that adds two numbers and
produces a sum bit (S) and carry bit (C) as the output. If A and B are the input bits, then
sum bit (S) is the X-OR of A and B and the carry bit (C) will be the AND of A and B. From
this it is clear that a half adder circuit can be easily constructed using one X-OR gate and
one AND gate. Half adder is the simplest of all adder circuit, but it has a major
disadvantage. The half adder can add only two input bits (A and B) and has nothing to
do with the carry if there is any in the input. So if the input to a half adder have a carry,
then it will be neglected it and adds only the A and B bits. That means the binary addition
process is not complete and that’s why it is called a half adder. The truth table, schematic
representation and XOR//AND realization of a half adder are shown in the figure below.
NAND gates or NOR gates can be used for realizing the half adder in universal logic and
the relevant circuit diagrams are shown in the figure below.
Let us observe the addition of single bits,
0+0=0
0+1=1
1+0=1
1+1=10
Since 1+1=10, the result must be two bit output. So, Above can be rewritten as,
0+0=00
0+1=01
1+0=01
1+1=10
The result of 1+1 is 10, where ‘1’ is carry-output (Cout) and ‘0’ is Sum-output (Normal
Output).
Even the sum and carry outputs for half adder can also be obtained with the method of
Karnaugh map (K-map). The half adder K-map is
Limitations:
Adding of Carry is not possible in Half adder.
To overcome the above limitation faced with Half adders, Full Adders are implemented.
It is a arithmetic combinational logic circuit that performs addition of three single bits.
It contains three inputs (A, B, Cin) and produces two outputs (Sum and Cout).
Where, Cin -> Carry In and Cout -> Carry Out
Bout = A'B
4. Full Subtractor:
Applications:
1. For performing arithmetic calculations in electronic calculators and other digital devices.
2. In Timers and Program Counters.
3. Useful in Digital Signal Processing