R
rickman
Guest
On 5/1/2014 12:55 PM, emirogluengin@gmail.com wrote:
I see this message has not been answered so let me try.
I remember seeing some fairly elegant ways to convert binary to decimal,
but none of them seem to have stuck in my mind. I bet a google search
would pull up a few.
In your case I think you could do some fairly simple shortcuts which
take advantage of the fact that you are only converting an 8 bit sample.
With larger numbers it is usually done iteratively, converting one
digit at a time, LSB first.
--
Rick
15 MayÄąs 2002 ĂarĹamba 23:07:03 UTC+3 tarihinde Christian yazdÄą:
Hello!
I know this newsgroup is specially ybout VHDL. But I am curently working
with Altera's derivation AHDL.
My question isn't quite language related but more general:
How would you create a decoder which generates BCD-coding from normal 8bit
binary coding?
I want to control several 7 segment displays and therefore have to use BCD
coding.
I'd be very happy to get any kind of help.
Regards
Chris.
I see this message has not been answered so let me try.
I remember seeing some fairly elegant ways to convert binary to decimal,
but none of them seem to have stuck in my mind. I bet a google search
would pull up a few.
In your case I think you could do some fairly simple shortcuts which
take advantage of the fact that you are only converting an 8 bit sample.
With larger numbers it is usually done iteratively, converting one
digit at a time, LSB first.
--
Rick