The adder was adapted from its 8-bit version. See https://github.com/britovski/adder
See the testbenchs on the previous github repo.