Professional Documents
Culture Documents
Experiment No. 2 Design and Implementation of Adder and Subtractor
Experiment No. 2 Design and Implementation of Adder and Subtractor
19BEC1360
Experiment No. 2
Design and Implementation of
Adder and Subtractor
Aim:
1. To design and implement half adder using Logic Gate Simulator
2. To design and implement full adder using Logic Gate Simulator
a. Using NOT, AND and OR gates (sum of product form)
b. Using Half Adders
3. To design and implement half subtractor using Logic Gate Simulator
4. To design and implement full subtractor using Logic Gate Simulator
using Half Subtractors
Software Used:
Logic Gate Simulator
Procedure:
• Identify the input and output variables.
• Construct the truth table
• Draw the K-map using truth table
• Determine the simplified Boolean expression
• Draw the logic diagram and setup the circuit in the logic simulator.
• Vary the inputs and measure the outputs.
• Do this for all possible combination of inputs.
Half-Adder:
Truth table:
Input Output
A B Sum(S) Carry(C)
0 0 0 0
1 0 1 0
0 1 1 0
1 1 0 1
Full-Adder:
Truth table:
Input Output
A B C Sum(S) Carry(C)
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