Design a circuit with output f and input x0,x1,y0,y1. Let X = x1x0 and Y=y1y0 each having four possibilities (00,01,10,11) corresponding to the numbers 0,1,2,3 respectively. The output should be one when X=Y, otherwise it should be 0.
Synthesize the simplest possible product-of-sums expression for f.
truth table:
x0 x1 y0 y1 | f
--------------|-
0 0 0 0 | 1
0 0 0 1 | 0
0 0 1 0 | 0
0 0 1 1 | 0
0 1 0 0 | 0
0 1 0 1 | 1
0 1 1 0 | 0
0 1 1 1 | 0
1 0 0 0 | 0
1 0 0 1 | 0
1 0 1 0 | 1
1 0 1 1 | 0
1 1 0 0 | 0
1 1 0 1 | 0
1 1 1 0 | 0
1 1 1 1 | 1
I made a product of sums using the maxterms.
!=not
(x0 + x1 + y0 + !y1)(x0 + x1 + !y0 + y1)(x0 + x1 + !y0 + !y1)(x0 + !x1 + y0 + !y1)(x0 + !x1 + !y0 + y1)(x0 + !x1 + !y0 + !y1)(!x0 + x1 + y0 + y1)(!x0 + x1 + y0 + !y1)(!x0 + x1 + !y0 + !y1)(!x0 + !x1 + y0 + y1)(!x0 + !x1 + y0 + !y1)(!x0 + !x1 + !y0 + y1)
Ok....
The trouble is the simplification.
To combine the first two terms: (x0 + x1 + y0 + !y1)(x0 + x1 + !y0 + y1)
I get: (x0 +x1+y0y1 + !y0!y1)
A correct product of sums form cannot have any product terms like this, right?
Also
(x0 + x1 + y0 + !y1)(x0 + x1 + !y0 + y1)(x0 + x1 + !y0 + !y1)
==>(x0 + x1 + y0 + !y1)(x0 + x1 + !y0 + !y1)(x0 + x1 + !y0 + y1)(x0 + x1 + !y0 + !y1) (duplicate the last term)
can be simplified to
(x0 + x1 + !y1)(x0+x1+!y0)
and then to
(x0 +1x)
this alone (without the other terms) violates the truth table for the last entry (1111)
Am I making a mistake somewhere or can this not be simplified?
Thanks in advance for any help!
Synthesize the simplest possible product-of-sums expression for f.
truth table:
x0 x1 y0 y1 | f
--------------|-
0 0 0 0 | 1
0 0 0 1 | 0
0 0 1 0 | 0
0 0 1 1 | 0
0 1 0 0 | 0
0 1 0 1 | 1
0 1 1 0 | 0
0 1 1 1 | 0
1 0 0 0 | 0
1 0 0 1 | 0
1 0 1 0 | 1
1 0 1 1 | 0
1 1 0 0 | 0
1 1 0 1 | 0
1 1 1 0 | 0
1 1 1 1 | 1
I made a product of sums using the maxterms.
!=not
(x0 + x1 + y0 + !y1)(x0 + x1 + !y0 + y1)(x0 + x1 + !y0 + !y1)(x0 + !x1 + y0 + !y1)(x0 + !x1 + !y0 + y1)(x0 + !x1 + !y0 + !y1)(!x0 + x1 + y0 + y1)(!x0 + x1 + y0 + !y1)(!x0 + x1 + !y0 + !y1)(!x0 + !x1 + y0 + y1)(!x0 + !x1 + y0 + !y1)(!x0 + !x1 + !y0 + y1)
Ok....
The trouble is the simplification.
To combine the first two terms: (x0 + x1 + y0 + !y1)(x0 + x1 + !y0 + y1)
I get: (x0 +x1+y0y1 + !y0!y1)
A correct product of sums form cannot have any product terms like this, right?
Also
(x0 + x1 + y0 + !y1)(x0 + x1 + !y0 + y1)(x0 + x1 + !y0 + !y1)
==>(x0 + x1 + y0 + !y1)(x0 + x1 + !y0 + !y1)(x0 + x1 + !y0 + y1)(x0 + x1 + !y0 + !y1) (duplicate the last term)
can be simplified to
(x0 + x1 + !y1)(x0+x1+!y0)
and then to
(x0 +1x)
this alone (without the other terms) violates the truth table for the last entry (1111)
Am I making a mistake somewhere or can this not be simplified?
Thanks in advance for any help!
