Académique Documents
Professionnel Documents
Culture Documents
Half Adder:
Truth Table:
Experiment No. 1b Date:
DESIGN OF ADDER CIRCUITS
Aim:
Design and verify the logic circuit of Half adder using logic gates.
Design and verify the logic circuit Full adder using of Half adder.
Objective:
a. To understand the principle of binary addition.
b. To understand and to differentiate half & full adder concept.
C.Use truth table, Karnaugh map, and Boolean Algebra theorems in
simplifying a circuit design.
d. To implement half adder and full adder circuit using logic gates
Apparatus Required:
Part Quantity
S.No Component Name
No/Range in Nos
1. Quad 2 input AND Gate IC 7408 1
2. Quad 2 input OR Gate IC 7432 1
3. Quad 2 input EXOR Gate IC 7486 1
4. Prototyping board (breadboard) - 1
Light Emitting Diode (LED)
5.
DC Power Supply 5V Battery
6.
Connecting wires As
7. -
required
Theory:
Logic Circuit:
Design Methodology:
The required circuits are designed using appropriate truth tables. Each output is
expressed as a Boolean algebraic function of all the inputs. The obtained logical expressions
for each of the outputs are reduced using either Karnaugh maps or Boolean laws.
Karnaugh map:
Half Adder:
A half adder is a logical circuit that performs an addition operation on two binary
digits. The half adder produces a sum and a carry value which are both binary digits. In the
half adder diagram there are two inputs to the half adder and two outputs. If either of the
inputs is a 1 but not both, then the output on the S line will be a 1. If both inputs are 1s, the
output on the C line will be a 1.
Full Adder:
A full adder is a combinational circuit that forms the arithmetic sum of input; it
consists of three inputs and two outputs. A full adder is useful to add three bits at a time but a
half adder cannot do so. In full adder sum output will be taken from EX-Or gate, carry output
will be taken from OR gate.
Truth Table
SU CARR
X Y Z
M Y
0 0 0 0 0
0 0 1 1 0
0 1 0 1 0
0 1 1 0 1
1 0 0 1 0
1 0 1 0 1
1 1 0 0 1
1 1 1 1 1
Observation Table:
Half Adder
Input Variable : X ,Y
Output Variable : S, C
LED ON : Green Light : Logic 1
LED OFF : NO Light : Logic 0
INPUTS OUTPUT
(LEDS) (LEDS)
X Y S C
Calculation:
Half Adder:
K Map simplification:
Sum:
Carry:
Boolean expression:
Sum :
Carry :
Pre Lab Questions:
1. List the gates involved for binary adder?
2. List the properties of EX-NOR gate.
3. Give the expression for sum and carry of an full adder?
4. Define half adder and full adder
5. Minimize the expression using Boolean theorems F= xy + xyz + xz + xyz.
Draw the logic diagram for the minimized function.
6. Name two canonical forms of Boolean algebra.
Procedure:
Full adder:
Input Variable : X, Y, Z
Output Variable : SUM(S), Carry (C)
LED ON : Green Light : Logic 1
LED OFF : No Light : Logic 0
INPUT(LED)
OUTPUT(LED)
X Y Z Sum S Carry C
Calculation:
Full adder:
K Map Simplification:
Sum:
Carry:
Boolean Expression:
Sum :
Carry :
Analysis:
Half Adder:
Verified the truth table of Half Adder as S = 1 i.e LED which is connected to S terminal
glows when inputs are A B
Verified the truth table of Half Adder as C = 1 i.e LED which is connected to C terminal
glows when inputs are A B
Full Adder:
Verified the truth table of Full Adder as S = 1 i.e LED which is connected to S terminal glows
when inputs are X Y Z
Verified the truth table of Full Adder as C = 1 i.e LED which is connected to Co terminal
glows when inputs are X Y Z
Conclusion :
1. To add two bits we require one EX- OR gate(IC 7486 ) to generate Sum and one AND (IC
7408) to generate carry.
2. To add three bits we require two half adders.
Result:
References:
Books:
1. M. Morris Mano - Digital Design - PHI (3rd Edition)
2. R.P. Jain - Modern Digital Electronics TMH
3. Tocci - Digital Systems - (PHI)
4. Morris Mano - Digital logic and computer design (PHI)
5. Malvino/Leach : Digital Principles and Applications
Lab Tutorials:
Pin Diagram:
Half Subtractor:
Logic circuit:
Truth Table:
INPUTS OUTPUT
(LED) (LEDS)
X Y D B
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
Aim:
Design and verify the logic circuit of Half subtractor using logic gates.
Design and verify the logic circuit Full subtractor using of Half subtractor.
Objective:
a. To understand the principle of binary subtraction.
b. To understand and to differentiate half & full subtractor concept.
c. Use truth table, Karnaugh map, and Boolean Algebra theorems in
simplifying a circuit design.
d. To implement half subtractor and full subtractor circuit uing logic gates
Apparatus Required:
Part
S.No Component Name Quantity in Nos
No/Range
1. Quad 2 input AND Gate IC 7408 1
2. Quad 2 input OR Gate IC 7432 1
3. Quad 2 input EXOR Gate IC 7486 1
4. Hex invertor (NOT Gate) IC 7404 1
5. Prototyping board (breadboard) - 1
Light Emitting Diode (LED)
6.
DC Power Supply 5V Battery
7.
8. Connecting wires - As required
Theory:
Half Subtractor:
Full Subtractor:
Full Subtractor Using Two Half Subtractor:
Logic Circuit:
Full subtractor:
A full Subtractor is combinational circuit that performs a subtraction between three
bits, taking into account that a 1 may have been borrowed by a lower significant stage. The
3 inputs denote minuend, subtrahend and previous borrow, respectively. The 2 outputs are
difference (D) and borrow(B).
Pre-Lab Questions:
Procedure:
Observation Table:
Half Subtractor:
Input Variable : X, Y
Output Variable : D, B
LED ON : Green Light : Logic 1
LED OFF : No Light : Logic 0
INPUTS(LED) OUTPUT
(LEDS)
X Y D B
Full adder:
Input Variable : X,Y,Z, D, B
Output Variable : D, B
LED ON : Green Light : Logic 1
LED OFF : No Light : Logic 0
INPUT(LED) OUTPUT(LED)
X Y Z D B
Calculation:
Half Subtractor:
KMap simplification: Difference:
Borrow:
Borrow:
Analysis:
Half Subractor:
Verified the truth table of Half Subtractor as D = 1 i.e LED which is connected
to D terminal glows when inputs are X Y.
Verified the truth table of Half Subtractor as B = 1 i.e LED which is connected to B terminal
glows when inputs are X Y
Full Subractor:
Verified the truth table of Full Subtractor as D = 1 i.e LED which is connected to D terminal
glows when inputs are X Y Z
Verified the truth table of Full Subtractor as B = 1 i.e LED which is connected to B terminal
glows when inputs are X Y Z
CONCLUSION :
1. To add two bits we require one EXOR gate(IC 7486 ) to generate Difference and one AND
(IC 7408) and NOT Gate(IC 7432) to generate Borrow.
2. To add three bits we require two half subtractor.
Result
Max.
Assessment Marks
Marks
Preparatio 30
n
Performan 30
ce
Record 40
Books: Total 100
1. M. Morris Mano - Digital Design - PHI (3rd Edition)
2. R.P. Jain - Modern Digital Electronics TMH
3. Tocci - Digital Systems - (PHI)
4. Morris Mano - Digital logic and computer design (PHI)
5. Malvino/Leach : Digital Principles and Applications
Lab Tutorials: