Fix simulation main for CPU module changes.
Add BCD module and testbench.