- #1
SatellitePlus
- 1
- 0
Hello! I've been working out the truth table to a logic gate which I've been told is a 2 Bit Adder. The inputs, in the order of the truth table below are 0, 1, 0, 1.
So can anyone tell me why this is a 2 bit adder? Just from the truth table. My guess would be that the outputs are never all ones, but I think that's just half the story. And how would I go about making a 3 bit adder?
Code:
Inputs: Outputs:
0 0 0 0 0 0 0
1 0 0 0 0 1 0
0 1 0 0 0 0 1
0 0 1 0 0 1 0
0 0 0 1 0 0 1
1 1 0 0 0 1 1
1 0 1 0 1 0 0
1 0 0 1 0 1 1
0 1 1 0 1 1 0
0 1 0 1 0 1 0
0 0 1 1 0 1 1
1 1 1 0 1 0 1
1 1 0 1 1 0 0
0 1 1 1 1 0 0
1 0 1 1 1 0 1
1 1 1 1 1 1 0
So can anyone tell me why this is a 2 bit adder? Just from the truth table. My guess would be that the outputs are never all ones, but I think that's just half the story. And how would I go about making a 3 bit adder?