how can one go about in representing the following Boolean function using NAND gates with a minimum number of gates?
z = A' BC + AB'C + ABC' + ABC
how can one go about in representing the following Boolean function using NAND gates with a minimum number of gates?
z = A' BC + AB'C + ABC' + ABC
Last edited by t.man; 14th January 2009 at 05:48 AM.
Hi,
One way is to reduce the equation using Boolean Algebra.
Another way is to generate a truth table and look at the
pattern of 1's and 0's to look for a simpler logic representation.
Example using Boolean Algebra:
z = ABC' + ABC
reduces to:
z = AB + AB
because it doesnt matter whether C is high or low, so it gets eliminated,
and of course that reduces to:
z = AB
so
z = ABC' + ABC = AB
and that would be implemented using one two-input 'AND' gate.
With this boolean equation (which is correctly derived), we can do 6 NAND gates to get the right circuit. I hope I'm right.
Last edited by Chaerl; 13th February 2009 at 03:42 PM.
AND each logic input and OR each group together.
z = A' BC + AB'C + ABC' + ABC
IF YOU WANT TO HELP FINE IF NOT PLEASE DON"T PEE IN MY CHEERO'S
Whoa long time no see Krumlink
In this case, you got it wrong. It should be the minimum number of NAND. In this case, we must simplify first the equation with the result of z=AB+BC+AC.
Afterwards, we can represent each the AND and OR with its equivalent NAND circuit. To further lessen the circuit, we must simplify more the equation by grouping. Thus, z=AB+(BC+AC). You can choose which term you want to group. I'll try to attach the circuit next time.