Lecture2 Chapter3 - Five-Variable Function Simplification Using Map Method, Product-of-Sum (PoS) Simplification Using Map Method
Lecture2 Chapter3 - Five-Variable Function Simplification Using Map Method, Product-of-Sum (PoS) Simplification Using Map Method
0
W′x 0 0 0 0 xy
0 0 0
0
12)
F′ = w′x + yz + xz + xy
F = (F′)′=(w′x + yz + xz + xy)′ = (w + x′)(y′ + z′)(x′ + z′)(x′ + y′)
Fall 2023 18
NAND Circuits
• The NAND gate is a universal gate that can be used to construct
any gate, therefore being able to replace all AND and OR gates.
Fall 2023 19
NAND Notation
• A convenient method for creating a NAND circuit is to obtain the
simplified Boolean function in terms of Boolean operators and
then convert the function to NAND logic.
• To facilitate the conversion to NAND logic we define equivalent
alternative symbols as shown below for NAND gate
Fall 2023 20
Two-Level Implementations
• The implementation of Boolean functions with NAND gates
requires that the function be in sum of products form.
– F = AB + CD
• All three diagrams are equivalent
Fall 2023 21
Two-Level Implementations
• F = AB+CD+E
• F = ((AB)' (CD)' E')' =AB+CD+E
Fall 2023 22
Example 3-10
• Implement F(x,y,z)= S(1,2,3,4,5,7) with NAND gates
Fall 2023 23
Two-Level NAND Rules
• Given a Boolean function, follow these rules to obtain the NAND
logic diagram:
➢ Simplify the function and express it in sum of products
➢ Draw a NAND gate for each product term of the expression
that has at least two literals. This is group of first level gates
➢ Draw a single gate using the AND-invert or the invert-OR
graphic symbol in the second level, with inputs coming from
outputs of first level gates
➢ A term with a single literal requires an inverter in the first
level, unless the single literal is already complemented
Fall 2023 24
Multilevel NAND Circuits
• The general procedure for converting a multi-level AND-OR
diagram into an all-NAND diagram is as follows:
➢ Convert all AND gates to NAND gates with AND-invert
graphic symbols
➢ Convert all OR gates to NAND gates with invert-OR graphic
symbols
➢ Check all the bubbles in the diagram
o Every bubble that is not compensated by another along
the same line will require the insertion of an inverter or
complement the input literal
Fall 2023 25
Multilevel NAND Example
Fall 2023 26
Multilevel NAND Example
Fall 2023 27
NOR Circuits
• The NOR operation is a dual of the NAND operation and
therefore all procedures and rules for NOR logic are the dual of
the corresponding procedures and rules for the NAND logic.
Fall 2023 28
NOR Notation
• A convenient method for creating a NOR circuit is to obtain the
simplified Boolean function in terms of Boolean operators and
then convert the function to NOR logic.
Fall 2023 29
Two-Level NOR Implementations
• The implementation of Boolean functions with NOR gates
requires that the function be in product of sums form.
F = (A + B)(C + D)E
Fall 2023 30
Multilevel NOR Implementations
Fall 2023 31
The End