Quantcast
Channel: Read decimal value of a 4-bit binary input - Electrical Engineering Stack Exchange
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by Paebbels for Read decimal value of a 4-bit binary input

Solution 1:The Double Dabble Algorithm. Electronics.StackExchange lists many Q&A for this topic:Fastest way to get integer mod 10 and integer divide 10?Binary to BCD converisonVHDL - Convert from...

View Article



Answer by alex.forencich for Read decimal value of a 4-bit binary input

Loops in HDL are a tricky thing to use in a synthesizable manner. I would recommend simply reading in the input bits as a binary number, compare with 9, if it is greater subtract 10.

View Article

Read decimal value of a 4-bit binary input

I am quite a rookie in the VHDL world, but I seem to have hold of the basics.Atm I am working on a project, which involves me to take a 4-bit binary input (switches), read this value and convert it to...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images