



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Any logic function can be implemented using NAND and NOR gates. To achieve this, first the logic function has to be written in Sum of Product (SOP) form. Once logic function is converted to SOP, then is very easy to implement using NAND gate. In other words any logic circuit with AND gates in first level and OR gates in second level can be converted into a NAND-NAND gate circuit. Consider the SOP expression: F = W.X.Y + X.Y.Z + Y.Z.W The above expression can be implemented with three AND gates in first stage and one OR gate in second stage as shown in figure. If bubbles are introduced at AND gates output and OR gates inputs (the same for NOR gates), the above circuit becomes as shown in figure.
Now replace OR gate with input bubble with the NAND gate. Now we have circuit which is fully implemented with just NAND gates.
Starting from a multilevel circuit: -Convert all OR gates to NOR gates with OR- NOT graphic symbols. -Convert all OR gates to NOR gates with NOT- AND graphic symbols. -Check all the bubbles in the diagram. For every bubble that is not counteracted by another bubble along the same line, insert a NOT gate or complement the input literal from its original appearance.