Forum Discussion
Altera_Forum
Honored Contributor
16 years agounsigned decimal to binary conversion in verilog
Dear all, I have some problem with the implementation of unsigned decimal to binary conversion. I need this conversion for my 32-bits fast adder design. Could anybody tell me how to hold...
Altera_Forum
Honored Contributor
16 years agoThe question sounds confused. All numbers (signed, unsigned) have basically a binary representation in digital processing. There's nothing to convert.
Real is however an abstract data type for simulation purposes only. It's not synthesizable. Special binary formats exist for floating point numbers (e.g. IEEE single and double), but the present code is dealing with integer numbers only and doesn't need float.