DIGITAL COLLECTION 002
DIGITAL COLLECTION 002
002
Half Adder Circuit and Full Adder Circuit
• Adders are digital circuits that carry out addition of numbers. Adders
are a key component of Arithmetic Logic Unit (ALU) inside any CPU.
Adders can be constructed for most of the numerical representations
like Binary Coded Decimal (BDC), Excess – 3, Gray code, Binary etc.
• Sum = A B + A B
• Sum = A ⊕ B
• Carry = A B
• Full adder is a digital circuit used to calculate the sum of three binary bits, which is the main
difference between this and half adder. Two of the three bits are same as before which are A, the
augend bit and B, the addend bit. The additional third bit is carry bit from the previous stage and is
called Carry–in, generally represented by CIN. It calculates the sum of three bits along including the
carry. The output carry is called Carry–out and is represented by COUT.
• The block diagram of a full adder with A, B and CIN as inputs and S, COUT as outputs is shown
below
Full Adder Truth Table
The truth table for full adder is shown below.
• Based on the truth table, the Boolean
functions for Sum (S) and Carry–out (COUT)
can be derived using K–Map.
• The K-Map for Sum output (S) of a Full Adder
is shown below:
• Using the truth table and the above K-Map, the Boolean
Expression of Sum (S) output of a Full Adder can be
derived as:
• = CIN (A B + A B) + CIN (A B + A B)
• = CIN (A ⊕ B) + CIN (A ⊕ B)
• Therefore, S = CIN ⊕ (A ⊕ B)
• Similarly, we can rewrite COUT as follows:
• = A B + A CIN + B CIN (A + A)
• = A B + A CIN + A B CIN
•
• = A B + A CIN (B + B) + A B CIN
• = A B (1 + CIN )+ CIN (A B + A B)
• = A B + CIN (A B + A B)
• = A B + CIN (A Ex-OR B)
• Based on the above two equations, the full adder circuit can be implemented using
two half adders and an OR gate. The implementation of full adder using two half
adders is show below.
• Full Adder using NAND Gates
• As mentioned earlier, a NAND gate is one of
the universal gates and can be used to
implement any logic design. The circuit of full
adder using only NAND gates is shown below.
• Full adder is a simple 1–bit adder. If we want
to perform n–bit addition, then we need ‘n’
number of 1–bit full adders should be used in
the form of a cascade connection.