3 NAND and NOR Implementations
3 NAND and NOR Implementations
IMPLEMENTATION
NAND AND NOR IMPLEMENTAT ION
• Step 2
• Step 3:
FINAL LOGIC IMPLEMENTATION
IMPLEMENT THE FOLLOWING BOOLEAN FUNCTION
WITH NAND GATES: F (X, Y, Z) = (1, 2, 3, 4, 5, 7)
• Step 1: simplify using 3 variable kmap SOP
• F= ? F = xy’ + x’y + z
• Step 2: draw the logic circuit using AND OR
• Step 3: AND NAND (AND-invert), OR NAND (invert OR)
• Step 4: complement z z’
MULTILEVEL NAND CIRCUITS
• F = A (CD + B) + BC’
Procedure for Converting A Multilevel AND–OR
Diagram into an All-NAND
1. Convert all AND gates to NAND gates with AND-invert graphic symbols.
2. Convert all OR gates to NAND gates with invert-OR graphic symbols.
3. Check all the bubbles in the diagram. For every bubble that is not
compensated by another small circle along the same line, insert an inverter
(a one-input NAND gate) or complement the input literal.
• F = A (CD + B) + BC’
Implementation Using NAND for F = A (CD + B) + BC’
EX 2: F = (AB‘ + A‘B)(C + D‘)
NOR IMPLEMENTATION
• The NOR gate is another universal gate that can be used to implementany Boolean
function.
• The NOR operation is the dual of the NAND operation.
• All procedures and rules for NOR logic are the duals of the corresponding procedures and
rules developed for NAND logic.
• Two graphic symbols for the NOR gate using OR and AND
2 LEVEL IMPLEMENTATION
• A two-level implementation with NOR gates requires that the function be simplified into product-
of-sums form.
• simplified product-of-sums expression is obtained from the map by combining the 0’s and
complementing.
• A product-of-sums expression is implemented with a first level of OR gates that produce the
sum terms followed by a second-level AND gate to produce the product.
• The transformation from the OR–AND diagram to a NOR diagram is achieved by changing the OR
gates to NOR gates with OR-invert graphic symbols and the AND gate to a NOR gate with an
invert-AND graphic symbol.
• A single literal term going into the second-level gate must be complemented.
F = (A + B)(C + D)E
Procedure for Converting A Multilevel AND–OR
Diagram into an All-NOR
1. Convert all OR gates to NOR gates with OR-invert graphic symbols.
2. Convert all AND gates to NOR gates with invert- AND graphic symbols.
3. Check all the bubbles in the diagram. For every bubble that is not
compensated by another small circle along the same line, insert an inverter
(a one-input NOR gate) or complement the input literal.