Full Adder Truth Table and Implementation
Truth Table
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 |
Implementation using Logic Gates
- Sum (S) = A XOR B XOR Cin
- Cout = (A AND B) OR (A AND Cin) OR (B AND Cin)
Logic Gate Diagram
- Two XOR gates for Sum (S)
- Three AND gates and one OR gate for Cout
Full Adder Circuit
- Inputs: A, B, and Cin
- Outputs: Sum (S) and Cout
No comments:
Post a Comment