Design and Implementation of Half Adder, Full Adder and CMOS Full Adder
Design and Implementation of Half Adder, Full Adder and CMOS Full Adder
Abstract—In this paper, 1 bit full adder is designed in Microwind The bit adder is implemented using simple logic gates. An
and DSCH. It is analysed using different implementation methods AND gate and an XOR gate are used to implement the half bit
like AOI logic and using transmission gates. It is converted into an adder because the sum bit is given by XOR logic and the carry
equivalent RC model to make the model simpler but less accurate bit is given by the AND logic. Circuit diagram of the half adder
for calculations. However, accurate results are obtained and
verified using DSCH, Verilog code and Mircrowind.
implemented using AND logic and XOR logic is given below.
I. INTRODUCTION
The need for counting items and adding items is almost as
old as mankind itself. Addition and subtraction are the two
earliest operations of mathematics. Their need has been very
essential in history and is till today. These 2 arithmetic Fig. 2a Half adder logic diagram (Figure12.2 from [1])
operations are in all blocks of life to add things and subtract This logic has also been designed and verified using DSCH
them. Technology has made life easier and it has not left back and Vivado[2-6].
even this small arithmetic operation. Just like addition in
decimal numbers, addition also takes place in binary numbers.
Simple logic gates have been used to implement adders to
perform addition in binary numbers. These circuits are called
bit adder circuits.
By using this truth table in K-map, equations of sum and carry B. Alternate Half Adder Logic:
bit output is described as; Other logics are also used to implement the half adder, for
example the NAND2 logic and NOR-based design as shown
s= x XOR y below. Many possible logics exist which may be used for
c= x.y implementing the half adder circuit but the logic which is the
most efficient is used majorly or the logic closer to the available
A. Logic Diagram resources is used. For example, using the NAND2 logic, we
may avoid the chaining of pFET’s unlike the NOR-based
network, but as the half adder circuit is a very small circuit the
distance created due to the chaining does not matter much so
the latter is also used. Just for example we may see for both the
circuits that if we apply 1 at both the inputs whether it gives the
desired answer i.e. sum bit = 0 and carry bit = 1 or not.
Output of the first NAND gate would be zero. This zero Fig. 3d Behavioural Simulations of Alternate Half Adder Logics using
Verilog code
when complemented, becomes the carry bit, that is 1. As the
input of the second and the third NAND gates are 0 and 1, this III. FULL ADDER
makes the outputs of both the NAND gates 1. Both these 1’s is
the input of the final NAND gate which gives the output 0 as The Full Adder takes 3 inputs, a, b and Ci. It works on the same
the sum bit. The same for the NOR-based network. Both the principle that if all the 3 inputs are 0, then 0 + 0 + 0 = 0, so the
inputs would be inverted to 0’s. The output of the NOR gate output is also 0, which means both the sum and the carry bit are
which is also the carry bit gives the output as 1 because NOR zero. If any one of the inputs is a 1 than the sum bit would be 1
of two 0’s is a 1. For the first NOR gate, NOR of two 1’s is zero and the carry bit would be zero because 1 + 0 + 0 = 1. If any
and for the second NOR gate, NOR of a 1 and a 0 is 0, which two of the inputs are 1 than the sum bit would be zero and the
is the sum bit. The above-mentioned equation for the half adder carry bit would be 1, because 1 + 1 + 0 = 2, which is represented
using AND logic and XOR logic was the simplest, the circuits as 10 in binary form. In the last if all the inputs are 1 then both
shown below will have complex equations compared to the sum and carry bits would be 1 because 1 + 1 + 1 = 3, which is
previous circuit. These outputs are also verified in DSCH and written as 11 in binary form. The output equation of this adder
Vivado. can be derived using the K-map. We may make the truth table
for the full adder and then use the K-map to derive the equation.
It is to be noted that the K-map will give the simplest possible
equation and if it is implemented in circuit form the circuit
would be the smallest possible but there are several logics used
to implement the full adder. Below is the truth table of the full
adder.
Fig. 3 Alternate Half Adder logic diagrams (Figure 12.3 from [1])
Fig. 4 Full Adder symbol and truth table (Figure 12.4 from [1]
A. Logic Diagram
Fig. 3b DSCH designs of Alternate Half Adder Logic Networks
Fig. 5c Timing diagram of DSCH design Fig. 7a AOI Full Adder logic (Figure 12.7 from [1])
REFERENCES