EE370 Digital Electronics: L12: Logic Synthesis - Part-2
EE370 Digital Electronics: L12: Logic Synthesis - Part-2
Digital Electronics
B. Mazhari
Dept. of EE, IIT Kanpur
189
G-Number
B. Mazhari, IITK
Two Level Minimization SOP : Y = x1x2x3 + x1x4 +
K-map : xy x y x
190
G-Number
B. Mazhari, IITK
KMAP
xy x y x
Q1Q0
x 0 0 0 1 1 1 1 0
0 1 0 0 1
1 0 1 0 1
D1 = Q1 Q0 + x Q0 + x Q1 Q0
191
G-Number
B. Mazhari, IITK
VLSI is all about managing complexity !
Q1Q0
x 0 0 0 1 1 1 1 0
0 1 0 0 1
1 0 1 0 1
D1 = Q1 Q0 + x Q0 + x Q1 Q0
Q1Q0
x 0 0 0 1 1 1 1 0
0 1 0 1 0
A 1 1 1 1 0
D
B C
4 PI: A; B; C ; D
194
G-Number
B. Mazhari, IITK
Definitions:
Q1Q0
x 0 0 0 1 1 1 1 0
0 1 0 1 0
A 1 1 1 1 0
D
B C
2 EPI: A; D
195
G-Number
B. Mazhari, IITK
Two Level Minimization
Q1Q0
2 EPI:
x 0 0 0 1 1 1 1 0 A; D
0 1 0 1 0
A 1 1 1 1 0
D A,D,B
B C
A,D,C
196
G-Number
B. Mazhari, IITK
QM-1 ON Set of Higher order Implicants Higher order Implicants
the (First Pass) (Second Pass)
Function
Minterm A B C D E
0
5
2.1
7
8
9
10
11
14
15
Cover = {A, B, D, E}
199
G-Number
B. Mazhari, IITK
Example 2
Minterm A B C D E
M1
M2
M3
M4
M5
M6
Minterm A B C D E
M1
M2
M3
M5
Minterm B C D
M1
M2
M3
M5
Cover = {B, D}
202
G-Number
B. Mazhari, IITK
Simplified Table: Non-empty
Minterm A B C D E F
M0
M1
M4
M6
M8
M10
M12
203
G-Number
B. Mazhari, IITK
Branch and Bound Search
Include A Discard A
204
G-Number
B. Mazhari, IITK
Minterm A B C D E F
M0
M1
M4
M6
M8
M10
M12
205
G-Number
B. Mazhari, IITK
Minterm B C D E F
M4
M6
M8
M10
M12
Solution : {A,C,D}.
Include A Discard A
206
G-Number
B. Mazhari, IITK
The search along any branch may be terminated if we
can predict that solutions obtained by following that
branch will either have same or larger number of PI than
the best solution found so far.
Include A Discard A
Predict here
sol. Dis. B
Inc. B
207
G-Number
B. Mazhari, IITK
Include A Discard A
sol. Dis. B
Inc. B
Minterm A B C D E F
M0
M1
M4
M6
M8
M10
M12
208
G-Number
B. Mazhari, IITK
Table without A
Minimum no. of PI? Include A Discard A
sol. Dis. B
Inc. B
Minterm B C D E F
M0
M1
M4
M6
M8
M10
M12
common heuristic :
The resulting cover may not be optimal but the obtained solution
is often good in the sense that often the number of PIs is not far
from minimal.
212
G-Number
B. Mazhari, IITK