I'm looking for a logic circuit to convert 16-bit binary to 5-digit BCD, but one that is smaller / uses less gates than double dabble.
Are there any other binary-to-BCD conversion circuits besides double dabble?
I'm looking for a logic circuit to convert 16-bit binary to 5-digit BCD, but one that is smaller / uses less gates than double dabble.
Are there any other binary-to-BCD conversion circuits besides double dabble?
Double dabble doesn't use many gates... if you implement it in a serial fashion. I imagine the BCD output is for human interface/UI, so you wouldn't need those values very quickly anyway.
If this is for a discrete design, then a 256kbyte EEPROM, a counter that counts to 3, and three 8-bit latches would be the simplest, lowest-area solution, short of using a small MCU to do the math.