1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Digital design code converter help

  1. Nov 4, 2014 #1
    1. The problem statement, all variables and given/known data
    design a code converter that converts a decimal digit from the 8 4 -2 -1 code to BCD.

    2. Relevant equations


    3. The attempt at a solution
    so i listed out the BCD order from 0 to 9 and listed the weighted 8 4 -2 -1 code so that the weights would equal to the BCD equivalent.
    8 4 -2 -1--->BCD
    ABCD---> WXYZ
    0000---> 0000
    0111---> 0001
    0110---> 0010
    0101---> 0011

    0100---> 0100
    1011---> 0101
    1010---> 0110
    1001---> 0111

    1000---> 1000
    1111----> 1001
    I then drew 4 K maps for each variable and arrived at an answer that is completely different from the correct answer, W=AB=AC'D'

    the answer i got
    Z= A'BD+BCD+AB'D
    Y=A'BC'D+ A'BCD'+ AB'C'D+ AB'CD'
    X= A'BC'D'+ AB'D+ AB'C
    W= AB'C'D'+ AB'CD

    i dont know what i am doing wrong and any guidance would be greatly appreciated
     
  2. jcsd
  3. Nov 5, 2014 #2

    NascentOxygen

    User Avatar

    Staff: Mentor

    What converion method have you used to map binary to BCD?

    You seem to have written as 1s complement of the BCD, why?
     
    Last edited: Nov 5, 2014
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Digital design code converter help
  1. Digital Design (Replies: 2)

Loading...