Digital Circuits and Logic Design: Lecture4-3
Digital Circuits and Logic Design: Lecture4-3
Lecture4-3:Optimized Implementation of
Logic Functions (Cont. & end)
Prime Minterm
implicant 10 11 13 15 Suppose all row
p
have the same
1 cost, then row P2
p2 dominates P1, P3,
p3 and P4.
p4
p
1
We call cyclic
p
2 prime implicant.
p
3 How to solve it?
p
4
p
5
p
6
Prime Minterm
implicant 0 1 2 5 6 7
p
2.Choose P2, 1
P3 ,and P6 p
2
for cover all p
3
p
4
p
5
p
6
112341 Digital Circuits and Logic Design 2010 (KTS)
Cyclic Prime Implicant
Prime Minterm
implicant 0 1 2 5 6 7
p
3.Choose P1, 1
P2,P5 ,and P6 p
2
for cover all p
3
p
4
p
5
p
6
112341 Digital Circuits and Logic Design 2010 (KTS)
Cyclic Prime Implicant
C1={P1,P4,P5}
=> f(a, b, c)= a’b’+bc’+ac =>cost=13
C2={P2,P3,P6}
=> f(a, b, c)= a’c’+b’c+ab =>cost=13
C3= {P1,P2,P5,P6}
=> f(a, b, c,)= a’b’+a’c’+ac+ab =>cost=17
Note: Cost not include NOT gate
P1-00x P4-x10
P2-0x0 P5-1x1 So choose C1 or C2
P3-x01 P6-11x
=P1P4P5+P1P4P3P6+P1P2P5P6+P2P3P4P5+P2P3P6
112341 Digital Circuits and Logic Design 2010 (KTS)
Petrick's method
Choose term or terms with fewest total literals. In our
example, the two products both expand to 6 literals
total each: