5-bit binary to BCD code converter

Discussion in 'Homework Help' started by >Chris<, Oct 28, 2009.

  1. >Chris<

    Thread Starter Member

    Oct 16, 2008
    Hello everyone,
    I have to build a 5-bit binary to BCD converter for one of my classes. The question is as follows:
    So as far as I understand it, it would be the easiest way to design the circuit to go from 0 to 9 and then the dot turns on and 0 to 9 repeats again. But i don't get how I can make the dot turn on at state 10. Can someone help me with that? And would that actually the most efficient way to build this circuit?
    Oh and btw we can only use basic gates!

    Thank you!
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    Do you understand the differences between binary values and binary coded decimal? The task is to convert from binary to BCD. A small example - 01011b = 11d, 10001b = 17d

    Arranging to
    will not do a number base conversion.