Sistem Digital V
Sistem Digital V
(410206)
5. X+X=X -- Idepotence
6. X•X =X -- Idepotence Unchanged in
value following
7. X + X’ = 1 -- Complement multiplication by
8. X • X’ = 0 -- Complement itself
9. (X’)’ = X -- Involution
The Duality Principle
• The dual of an expression is obtained by
exchanging (• and +), and (1 and 0) in it,
provided that the precedence of operations is
not changed.
• Cannot exchange x with x’
• Example:
– Find H(x,y,z), the dual of F(x,y,z) = x’yz’ + x’y’z
– H = (x’+y+z’) (x’+y’+ z)
• Dual does not always equal the original
expression
• If a Boolean equation/equality is valid, its dual is also
valid
The Duality Principle (cont.)
With respect to duality, Identities 1 – 8 have the
following relationship:
OR
0 m0 m1 0 m0 m2
2 3 1 3
1 m2 m3 1 m1 m3
group of 4 terms
Simplification
• Enter minterms of the Boolean function
into the map, then group terms
• Example: f(a,b,c) = ac’ + abc + bc’
• Result: f(a,b,c) = ac’+ b
a bc
0 1 1 1
1 1 1
0 1 1 1
00 01 10 11
1 1 1
00 01 10 11
More Examples
yz
X 00 01 11 10
• f1(x, y, z) = ∑ m(2,3,5,7) 0 1 1
1 1 1
f1(x, y, z) = x’y + xz
• f2(x, y, z) = ∑ m (0,1,2,3,6)
1 1 1 1
f2(x, y, z) = x’+yz’
1
Four-Variable Maps
YZ
WX 00 01 11 10
00 m0 m1 m3 m2
01 m4 m5 m7 m6
10 m8 m9 m10 m11
00 1 1 1 1 1 1
01 1 1 1 1 1 1
11 1 1 1 1
10 1 1 1 1 1 1
g(A,B,C,D) = c’+b’d’+a’bd
5-Variable K-Map
DE
BC A=1
16 17 19 18
DE
BC 20 21 23 22
0 1 3 28 2 29 31 30
4 5 7 24 6 25 27 26
12 13 15 14
ABCDE’
8 9 11 10
A=0 A’BCDE’
Implicants and
Prime Implicants (PIs)
• An Implicant (P) of a function F is a product
term which implies F, i.e., F(P) = 1.
• An implicant (PI) of F is called a Prime
Implicant of F if any product term obtained
by deleting a literal of PI is NOT an implicant
of F
• Thus, a prime implicant is not contained in
any “larger” implicant.
Example
• Consider function f(a,b,c,d) whose K-
map is shown at right. b’
• a’b’ is not a prime implicant because ad
it is contained in b’. cd ab
1 1
• acd is not a prime implicant because
it is contained in ad. 1 1 1
acd
a’cd’
Essential Prime Implicants (EPIs)
needed. 1 1 1
one term
• 3 EPIs, since each shaded cell is
covered by a different term.
• F(a,b,c,d) = a’b’ + a’c’ + a’d + abc
Product of Sums Simplification
• Use sum-of-products simplification on the
zeros of the function in the K-map to get
F’.
• Find the complement of F’, i.e. (F’)’ = F
– Recall that the complement of a boolean
function can be obtained by (1) taking the
dual and (2) complementing each literal.
– OR, using DeMorgan’s Theorem.
POS Example
cd
ab
1 1 1 1
1 1 1 0
0 0 1 1
0 0 0 0
is shown at right. x 1 0 0
• g = a’c’+ ab 1 x 0 x
1 x x 1
or
0 x x 0
• g = a’c’+b’d
x 1 0 0
1 x 0 x
1 x x 1
0 x x 0
Algorithmic minimization
• What do we do for functions with more
than 4-5 variables?
• You can “code up” a minimiser
(Computer-Aided Design, CAD)
– Quine-McCluskey algorithm
– Iterated consensus
• We won’t discuss these techniques here