Physics Lab 11 - Logic Gates - Half Adder and Full Adder
Physics Lab 11 - Logic Gates - Half Adder and Full Adder
Aim:
To verify the Half Adder and Full Adder gates using the logic gate simulation
program
Theory:
Questions to be Answered:
Define Half Adder and Full Adder (1 line each)
Actual Theory:
A half adder is a circuit that adds two single-bit binary numbers and outputs
the sum and carry. A full adder is a circuit that adds three single-bit binary
numbers (including a carry from a previous addition) and outputs the sum
and carry.
Variables:
Manipulating:
input
Responding:
Output
Controlled
Values of High and Low
Diagram:
Drawing of screenshot of the verified truth gates
Half Adder
Full Adder
Method:
1. Using the program ‘multisim.com’, the inputs for the AND gate were
varied to verify its truth table using OFF as 0 and ON as 1.
2. The output for each variation of the truth table was recorded and
tabulated.
3. The truth table for the full adder was also verified.
Results:
1. HALF ADDER
Screenshot of simulation
A B Sum Carry
0 0 0 0
0 1 1 0
1 0 1 0
1 1 0 1
2. FULL ADDER
Input Output
A B Cin Sum (S) Cout
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
Discussion:
Questions To Be Answered:
Digital electronics operate using logic
- Half adders are used in simple addition operations where only two binary
digits are involved.
- Full adders are used in more complex operations, such as adding multi-bit
binary numbers in arithmetic circuits.
- Both half adders and full adders are integral components in digital
electronics, forming the basis for arithmetic logic units (ALUs).
- The truth table for a half adder shows the outputs for sum and carry for all
possible input combinations.
- When both inputs are 0, the sum is 0 and the carry is 0; when one input is
1, the sum is 1 and the carry is 0; when both inputs are 1, the sum is 0 and
the carry is 1.
- The truth table for a full adder shows the outputs for sum and carry for all
possible combinations of three inputs, including a carry-in from a previous
addition.
- The full adder truth table is more complex than the half adder, as it must
account for all combinations of three binary inputs.
- Adding binary numbers involves summing two binary digits and calculating
the carry if the sum exceeds the binary value of 1.
- The carry is then added to the next higher bit position in multi-bit binary
addition.
**Half Adder Conditions for Output to Be 1:**
- The sum output of a half adder is 1 when either, but not both, of the inputs
is 1.
- The carry output of a half adder is 1 only when both inputs are 1.
- The sum output of a full adder is 1 when an odd number of inputs are 1
(i.e., one or all three inputs are 1).
- The carry output of a full adder is 1 when at least two of the three inputs
are 1.
Conclusion:
The truth tables for the Full Adder and Half Adder were verified.