Addition Function in Logic Gate
Addition Function in Logic Gate
• Objectives
Confirming the half adder, full adder, half subtractor and full subtractor circuits in Boolean
Algebra are truly function in reality, and apply the truth table into the logic circuits.
• Introduction
Combinational circuits’ inputs are not dependent on previous inputs. There are many circuits
that are made base on this kind of logic circuits such as half, full adder and subtractor. The main
difference between them is that half adder circuits manage with two bits .On the other hand,
full adder circuits deal with more than two bits.
• Methodology
• Equipment
(AND, OR, NOT, and XOR logic gates) connected with switches and LEDs.
• Procedures
1) For the Half Adder Experiment:
A. First, we put the gate and wire them as shown in the figure
B. We supplied the circuit with a power source of 5 volts.
A. First, we put the gate and wire them as shown in the figure
B. We supplied the circuit with a power source of 5 volts.
A. First, we put the gate and wire them as shown in the figure
B. We supplied the circuit with a power source of 5 volts.
YOUSEF ALANESI/ 202070190 2
Logic system design
A. First, we put the gate and wire them as shown in the figure
We supplied the circuit with a power source of 5 volts.
Results
We got the following output as we change the inputs state.
Half Adder
A B A+B (S) Cout
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
Full Adder
Half Subtractor
A B A-B (D) C
0 0 0 0
0 1 1 1
1 0 1 0
1 1 0 0
Full Subtractor
A B Cin A-B-Cin C
0 0 0 0 0
0 0 1 1 1
0 1 0 1 1
0 1 1 0 1
1 0 0 1 0
1 0 1 0 0
1 1 0 0 0
1 1 1 1 1
expected. With similarity, when we use the half subtractor to subtract 0 form 1 we get 1 and 1
borrowed. Moreover, all the values in all the tables work as they meant to work.
• Conclusion
The main purpose of this experiment is achieved fully. As a result, the theorems of the Boolean
algebra work.
• Recommendation
Throughout the experiment we struggled in some cases therefore, I listed some advice to whom
willing to conduct the experiment.
• References
The instructor has fully taught us the function of the circuits so I did not need any references.