The adder was adapted from its 8-bit version. See https://github.com/britovski/adder
See the testbenchs on the previous github repo.
# | Input | Output |
---|---|---|
0 | i0[3] | s[3] |
1 | i0[2] | s[2] |
2 | i0[1] | s[1] |
3 | i0[0] | s[0] |
4 | i1[3] | co |
5 | i1[2] | none |
6 | i1[1] | none |
7 | i1[0] | none |