Combinational Logic Circuit Design

Discussion in 'Homework Help' started by tehnoobzorz, Oct 11, 2011.

  1. tehnoobzorz

    Thread Starter New Member

    Oct 11, 2011
    2
    0
    Design a circuit that accepts a two-digit binary number as input and generates an output code equal to the square of that number.

    I got the truth table I believe (correct me if im wrong) now I just dont know how to pull the circuit out of it:confused:

    A B|x3 x2 x1 x0
    0 0| 0 0 0 0
    0 1| 0 0 0 1
    1 0| 0 1 0 0
    1 1|1 0 0 1
     
  2. Papabravo

    Expert

    Feb 24, 2006
    10,144
    1,791
    Each column of the result is a boolean function of two variables.
    Code ( (Unknown Language)):
    1.  
    2. X3 = A & B
    3. X2 = A & B'
    4. X1 = 0
    5. X0 = (A & B) | (A' & B)
    6.  
    Get the idea?
     
  3. tehnoobzorz

    Thread Starter New Member

    Oct 11, 2011
    2
    0
    Got that part but would it be 3 seperate circuits? What do they all connect to? I'm just lost about that part. Do I karnaugh map them?
     
  4. Georacer

    Moderator

    Nov 25, 2009
    5,142
    1,266
    In general, yes each output bit is a different Boolean function. You can find the function with a Karnaugh map, but Papabravo already did the job for you.

    Now you need to design the logic gate connections from your inputs to produce the outputs.

    Sketch a gate diagram and post it for us to comment upon.
     
Loading...