Half Adder
What is a Half Adder?
A half adder is a digital circuit that adds two single-bit binary numbers.
Half Adder Truth Table
A |
B |
Sum |
Carry |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
Half Adder Logic Gates
- Sum = A XOR B
- Carry = A AND B
Applications
- Digital computers
- Digital signal processing
- Arithmetic logic units (ALUs)
Half Adder Truth Table and Implementation
Truth Table
A |
B |
Sum (S) |
Carry (C) |
0 |
0 |
0 |
0 |
0 |
1 |
1 |
0 |
1 |
0 |
1 |
0 |
1 |
1 |
0 |
1 |
Implementation using Logic Gates
- Sum (S) = A XOR B
- Carry (C) = A AND B
Logic Gate Diagram
- XOR gate for Sum (S)
- AND gate for Carry (C)
Half Adder Circuit
- Inputs: A and B
- Outputs: Sum (S) and Carry (C)
No comments:
Post a Comment