NAND and NOR Test
NAND and NOR Test
F = ( A + B ( C + D )) ( B + D’ )
First, we will draw its schematic using AND, OR, NOT gates.
Notice the OR-AND pattern like two-level implementation. It can be easily converted since the bubble
cancels each other.
The two bubbles along a single line cancel each other. However, there is a single bubble at the 2 nd
level gate’s input. so we will complement the input B to compensate the bubble.
Now redraw the whole schematic replacing OR-Invert and Invert-AND with NOR gate symbol as
shown in the figure below.
F = ( AB’ + CD’ ) ( A’ + B )
First, we will draw its schematic using AND,OR, NOT gates as given in the figure below.
The single bubbles at the input line of all first level gates need an inverter or the inputs to be
complimented. The two bubbles along the same line cancel each other.
Now that all the bubbles have been accounted for, we will redraw this schematic by replacing OR-
Invert and Invert-AND with NOR gates as shown in the figure below.
MULTI-LEVEL Implementation using NAND Gate
Schematic having more than two levels of gates is known as a multi-level schematic.
We can implement multi-level SOP expression using NAND gate. The conversion of multi-level
expression into NAND gate has the same method as two-level implementation.
The multi-level expression can be converted into two-level expression but for the sake of realization,
we will implement a multi-level expression.
F = A ( B + CD ) + BD’
Notice the AND-OR pattern. So it can be easily converted into NAND gates. Now we will convert this
into mixed notation i.e. AND gate will be converted into AND-INVERT and OR will be converted into
INVERT-OR as shown in the figure given below.
Remember double bubbles along a single line cancel each other, and a single bubble along a line
should be compensated by inserting an inverter in that line.
Notice the 3rd line of input B, there is a single bubble. To compensate this bubble, either an inverter
should be added or the input B should be complimented.
Then redraw the whole schematic using all NAND gates by replacing AND-INVERT and INVERT-OR
with NAND gates as shown in the figure below.
Three-level Implementation & Example using NAND Gate
Suppose 3-level function be F = ( AB’+CD’) ( A’+B )
First, we will draw its AND-OR schematic as shown in the figure below;
Then we will convert it into Mixed notation by converting AND into AND-INVERT and OR into INVERT-
OR.
Notice the last two lines with single bubbles. These single bubbles should be compensated by
inserting inverters in those lines or complementing the inputs. The output also contains a single bubble
so an inverter at the output should also be connected to compensate the bubble.
And the last step is to redraw the whole schematic using all NAND gates instead of AND-INVERT and
INVERT-OR as shown in the figure given below.