Electrical – Convert And-Or Gate to only NAND Gates

logic-gates

I have to create a two level circuit NAND only gates for the Fibonacci from 1-8. After creating a truth table and K-Maps, I got the Function F=A'B + B'C. Then I drew the AND-OR circuit and tried to convert it NAND only circuit. After implementing it on our bread board, I did not get the correct output, so I am guessing something is wrong with my circuit diagram. I am not sure. For the truth table that we were given, the directions given were:

Each row in the truth table is identified by a decimal number.
For each row that corresponds to a Fibonacci number, specify the output to be 1.
Otherwise, specify the output to be 0.

Truth table

K-Map

Circuit Diagram

Best Answer

You can use the De Morgan theorems to convert any OR logic to AND and vice-versa:

!(A * B) = !A + !B

and

!(A + B) = !A * !B