Construct a circuit that has 2 inputs and 3 outputs, the 2 inputs represents a 2-bit binary number and the 3 outputs represents the value that is equal to the input number plus 1.
a | b |   | z2 | z1 | z0 |
---|---|---|---|---|---|
- | - | + | - | - | - |
0 | 0 |   | 0 | 0 | 1 |
0 | 1 |   | 0 | 1 | 0 |
1 | 0 |   | 0 | 1 | 1 |
1 | 1 |   | 1 | 0 | 0 |