Search code examples
digitalrombcddigital-design

Converting six-bit binary number to it's corresponding two digit BCD number?


Here is the question that I tried so hard but I couldn't solve it.
I captured the question as it was from the question-paper, I couldn't solve it in the exam, and non of student's could.
You probably ask, why don't you ask your lecturer ( it's fair question because you are not here to solve the exam-question or a homework), we did but she didn't solve it she just told us the BCD is like this :

10^0   10^1   10^2 ....

enter image description here

Any Help appreciated, Thanks.


Solution

  • It seems like what she wants is for you to specify the binary BCD output for these inputs. So, for example, 53 would output as 101 0011 (starting from D6). (101 = 5, 0011 = 3)