Our adder is a component that adds two 4-bit inputs. It was designed with FULL-ADDERS cells. The output is a 5-bit vector taking into account the last carry of the sum.
To test the adder we only have to put the values of the operands in the 8 input bits. It is a combinational system.
# | Input | Output | Bidirectional |
---|---|---|---|
0 | X0 | S0 | |
1 | X1 | S1 | |
2 | X2 | S2 | |
3 | X3 | S3 | |
4 | Y0 | S4 | |
5 | Y1 | ||
6 | Y2 | ||
7 | Y3 |