Half adder
What is Half adder?
It is a combinational logic circuit that is designed by combining one EX-OR gate and one AND gate. It has two inputs and the output is a sum and a carry.
Logical expression:
Sum = A XOR B
Carry = A AND B
Truth Table
The truth table for half adder is as follows:
Input | Output | ||
A | B | Sum | Carry |
0 | 0 | 0 | 0 |
0 | 1 | 1 | 0 |
1 | 0 | 1 | 0 |
1 | 1 | 0 | 1 |
Reference