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 ArticleAnswer 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 ArticleRead 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
More Pages to Explore .....