Professional Documents
Culture Documents
By Nasir Mahmood
nasir.mahmood@seecs.edu.pk
nasirm15@gmail.com
2
Indicating Don’t Care Conditions
● A don’t care condition cannot be specified with a 1 because it would
require the function to always be 1 for the combination.
3
Simplify With Don’t Care Conditions
● Simplify the Boolean function: F (w,x,y,z) = Σ(1,3,5,9,13)
● It has don’t-care conditions: d(w,x,y,z) = Σ(0,2,7)
5
More Examples with Don’t Care
CD
00 01 11 10
AB
00 0 1 0 0
01 x x x 1 F=AʹCʹD+B+AC
11 1 1 1 x
10 x 0 1 1
CD
00 01 11 10
AB
00 0 1 0 0
01 x x x 1 F=AʹBʹCʹD+ABCʹ+BC+AC
11 1 1 1 x
10 x 0 1 1
6
NAND and NOR Implementations
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.
8
NAND Notation
Two-Level Implementation
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
10
Two-Level Implementation
F = AB+CD+E
F = ((AB)' (CD)' E')' =AB+CD+E
11
Example 3-10
Implement F(x,y,z)= Σ(1,2,3,4,5,7) with NAND gates
12
2-Level NAND Rules
13
14
15
Multilevel NAND Example
16
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.
NOR Notation
21