HDLbits
Browse Problems

Verilog Language/More Features

Generated BCD Adder

hard
generatearithmeticbcd

Inputs hold two packed BCD digits each. Add both decimal digits with carry correction and return the two result digits plus a carry digit in the high nibble.