Maker Pro
Maker Pro

Boolean Expression to 2-input logic gates only

Hello,

I have a Boolean expression and I want to convert it to circuit with only 2-input gates and NOTs.

x'y'z + x'yz' + xy'k' + xyk

Is there any different approach than:

(x'y')z + (x'y)z' + (xy')k' + (xy)k



Thought like this:
and3.png
 

Attachments

  • and3.png
    and3.png
    35.1 KB · Views: 1

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
You could also try using de Morgan's theorem and see if it simplifies anything.

Alternately, just implement a three input gate with two two input gates and invert the inputs as required.

Have you created a truth table for it?
 
You could also try using de Morgan's theorem and see if it simplifies anything.

Alternately, just implement a three input gate with two two input gates and invert the inputs as required.

Have you created a truth table for it?

My expression is simplified by Karnaugh map.

Unfortunately I think de Morgan's theorem doesn't helps here.
 
The result of K-map is this expression:

x'y'z + x'yz' + xy'k' + xyk

And now I want to draw the circuit with only 2input logic gates and NOTs.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Aaah! I thought that was what you had modeled in the K-map.

Why not start with something like this:

x'y'z + x'yz' + xy'k' + xyk
x'(y'z + yz') + x(y'k' + yk)
 
Aaah! I thought that was what you had modeled in the K-map.

Why not start with something like this:

x'y'z + x'yz' + xy'k' + xyk
x'(y'z + yz') + x(y'k' + yk)

Thank you for your help.

After some reading of Boolean Algebra, I ended up with this expression:

( (NOT X) AND (Y XOR Z) ) OR ( X AND (NOT (Y XOR K)) )

I think it is a good expression with 2 xor, 2 and, 2 not's.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Just be aware that a 2 input XOR gate may not be an allowable gate. Check this out, if you can.
 
Top