Introduction To Digital Design: Chapter 2: Combinational Logic Circuits
Introduction To Digital Design: Chapter 2: Combinational Logic Circuits
Map Manipulation
When combining squares in a map:
1. 2. Ensure that all minterms are included. Minimize the number of terms, and the number of literalsper-term, in the resulting simplified function by:
0 0 1 1
0 1 1 1
B
0 0 0 0
1 1
D
11 C 10
0 0
Implicants
Prime Implicants Single cells can be prime implicants if they cannot be grouped with any other cell.
3
Example:
BD
1 BD A 1 1 1 1
CD C 1 1 1 1 1 1 B
BD
1 1 1 1 A 1 1 D 1 1 1
C 1 B 1
BD
AB
D AD
BC
b3 b2 b0*
00 01 11 b1
0 0 0 0
0 1 1 1
b2
0 0 0 0
1 1
b0
We want a sum of b3 b2 b1* products expression so we circle 1s. * PIs are essential; no implicants remain.
0 0
b3 b2 b1*
10
0 0 1 0
0 0 1 0
B
1 1 1 0
1 1
D
AC *
0 0
ABD
ACD *
BCD
1 1 1
1 1 1 1
1 1
1 1 1 1
B
1
B
1
Prime Implicants are CD, B, AD, AB, BD, BD. Essential PIs are: BD and BD Possible ways to simplify F: F= BD +BD + CD + AD F= BD +BD + CD + AB F= BD +BD + BC + AD F= BD +BD + BC + AB
10
11
A+ * C
0 0 1 0
0 0 1 0
B
1 1 1 0
1 1 0 0
A+ D
10
0 0 0 0 0 0 0 0 0
F = AB + CD + BD F = (A+B)(C+D)(B+D)
01
11
A
10
13
So far we have dealt with functions that were always either 0 or 1. Sometimes we have some conditions where we dont care what result is.
In this case the function table or map contains entries for which it is known:
the input values for the minterm will never occur, or The output value for the minterm is not used.
In these cases, the output value need not be defined Instead, the output value is defined as a don't care By placing don't cares ( an x entry) in the function table or map, the cost of the logic circuit may be lowered. Example 1: A logic function having the binary codes for the BCD digits as its inputs. Only the codes for 0 through 9 are used. The six codes, 1010 through 1111 never occur, so the output values for these codes are x to represent dont cares.
14
15
BD
00 01 11 C
0 0 0 0
0 1 1 1
B
x x x x
1 1
D
x x
BC
10
y 10
YZ WX 00 01 11 10 00 01 11
y 10
00 01 03 02 04 15 17 16 X X13 X X 12 15 14 1 8 1 9 X X10 11 z x
w 10
F= xz + xy + w
much lower in cost
17
0 x 1 x
1 x 1 0
0 x 1 1
0 1 x 1
F=A C D+B+AC
Alternative covering. CD 00 01 11 10 AB
00 01 11 10
0 x 1 x
1 x 1 0
0 x 1 1
0 1 x 1
F= CD + A B
F= CD + A D
19
Summary
Result of minimization is minimal sum-of-products. Result contains prime implicants. Essential prime implicants are required in the implementation. Dont care conditions help minimize functions.
20