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 circuit function

  1. Sep 26, 2009 #1
    1. The problem statement, all variables and given/known data
    given the midterm function:
    f= m1 + m2 + m3 + m6 + m7 + m10 + m13

    -supposed to simplify this function

    2. Relevant equations


    3. The attempt at a solution
    i got the following functions using Karnaugh mapping:
    f = [tex]\overline{x_{1}} \cdot \overline{x_{2}}[/tex] + [tex]\overline{x_{1}} \cdot x_{3}[/tex] + [tex]x_{1} \cdot x_{2} \cdot \overline{x_{3}}\cdot x_{4}[/tex] + [tex]\overline{x_{4}}\cdot x_{3}}[/tex]

    I tested it out by hand and it seemed fine to me, once i entered into Quartus and simulated a functional wave, m2 and m13 did not come out to 1 like it's supposed to.

    Verlog code i used:
    Code (Text):

    module design_1 (x1,x2,x3,x4,f);
        input x1, x2, x3, x4;
        output f;
        assign f =(~x1 | ~x2 | ~x3 | x4) & (~x1 | ~x2 | x3 | ~x4) &
        (~x1 | ~x2 | x3 | x4) & (~x1 | x2 | x3 | ~x4) & (~x1 | x2 | x3 | x4) &
        (x1 | ~x2 | x3 | ~x4) & (x1 | x2 | ~x3 | x4);
    can someone please tell me where i went wrong?

    any help would be appreciated
    thanks in advanced,
    Last edited: Sep 27, 2009
  2. jcsd
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted

Similar Discussions: Digital circuit function
  1. Digital circuit help (Replies: 2)