Thursday, 4 July 2019

ADDER CIRCUITS - HALF ADDER AND FULL ADDER

Adder Circuits - An Introduction 
Arithmetic operations are a part of the information processing tasks carried out by digital computers.
The most basic arithmetic operation is the binary addition i.e., the addition of two binary digits. The binary addition consists of four possible operations: 0 + 0 = 0, 0 +1 = 1, 1 + 0 = 1, and 1 + 1 = 10. The input bits are called augend and addend. The first three operations produce a single output bit called sum. The last operation produces a two-bit sum output in which the most significant bit is called carry
BINARY ADDERS
Figure 1: BINARY ADDERS
Binary Adder is a combinational circuit that performs the arithmetic operation of addition with binary numbers. A combinational circuit that performs the addition of two bits is called a half adder.  A combinational circuit that performs the addition of three bits (two input bits and a previous carry) is called a full adder.

Half Adder
A logic circuit for the addition of two one-bit binary numbers is referred to as a half adder. The half adder accepts two binary digits on its inputs which are designated as augend and addend. It produces two binary digits on its outputs which are designated as the sum and carry. The truth table for the half adder is shown in figure 2. 
Truth Table of Half Adder
Figure 2: Truth Table of Half Adder
The simplified Boolean functions for the two outputs can be obtained directly from the truth table in three steps. The steps are, 
1. Find the 1's in the sum and carry output column by looking into the truth table.
2. Find its corresponding binary values of inputs and convert it into product terms.
3. Write the final expression by summing all product terms as the sum of products form.

The boolean expression for the sum and carry outputs of half adder are,
                          S = A'B + AB'
                          S = A B

                          C = A.B
The sum output of the half adder can be generated with an Exclusive-OR gate and the carry output can be generated using an AND gate. 
Logic Diagram of Half Adder
Figure 3: Logic Diagram of Half Adder
The logic diagram of a half adder is shown in figure 3. A half adder can be implemented with an Exclusive-OR gate and an AND gate.

Further Reading: Implementation of Half Adder with NAND gates

Full Adder
A logic circuit for the addition of three one-bit binary numbers is referred to as a full adder. The full adder accepts three binary digits on its inputs which are designated as augend, addend, and a carry from the previous least significant position. It produces two binary digits on its outputs which are designated as the sum and carry. The truth table for the half adder is shown in figure 4. 
Truth Table of Full Adder
Figure 4: Truth Table of Full Adder
The Boolean expression for the two outputs can be obtained directly from the truth table and then can be simplified.
The sum output is given by,
S = A'B'Ci + A'BCi’ + AB'Ci' + ABCi       
S = A' (B'Ci + BCi') + A (B'Ci' + BCi
       [A  B = A'B+AB'and  A ⊕ B = AB+A'B']
S = A' (B   Ci) + A (B ⊕ Ci)
S = A  B  Ci

The carry output is given by, 
C= A'BCi + AB'Ci + ABCi' + ABC 
[A + A = A, So add two ABCi terms to the expression]
C= A'BCi AB'Ci + ABCi' + ABCi + ABCi + ABCi 
                          [Group terms for simplification]

C(A'+A)BCi (B'+B)ACi + (Ci'+Ci )AB
                           [A + A' = 1]
C(1)BCi (1)ACi + (1)AB                
                          [1.A = A]
C= BCi + ACi + AB            

Logic Diagram of Full Adder
Figure 5: Logic Diagram of Full Adder
The logic diagram of a full adder is shown in figure 5. A full adder can be implemented with an Exclusive-OR gate, AND gates and an OR gate. 

No comments:

Post a Comment

Share your reading experience here

Popular Posts

Tell us your feedback about INSTRUMENTATION IN A NUTSHELL

Name

Email *

Message *