Further Combinational Logic: DR DC Hendry
Further Combinational Logic: DR DC Hendry
Further Combinational Logic: DR DC Hendry
Dont Cares
Technology Mapping
Dr DC Hendry
January 2006
2 Dont Cares
3 Technology Mapping
f = (A + C )(A + B)(A + C )
f = (A + C )(A + B)(A + C )
f = (A + C )(A + B)(A + C )
f = (A + C )(A + B)(A + C )
f = (A + C )(A + B)(A + C )
Example:
A B C f
0 0 0 0
0 0 1 1
0 1 0 0
0 1 1 1
1 0 0 1
1 0 1 0
1 1 0 0
1 1 1 0
Example:
Example:
0 0 0 1
0 1 1 1 C
1 0 0 1 1 1 1 0 0
1 0 1 0
1 1 0 0 1 AC
1 1 1 0
Example:
0 0 0 1
0 1 1 1 C
1 0 0 1 1 1 1
0 0
1 0 1 0
1 1 0 0 1 AC
1 1 1 0 2 AB (an alternative was B C )
Example:
0 0 0 1
0 1 1 1 C
1 0 0 1 1 1 1
0 0
1 0 1 0
1 1 0 0 1 AC
1 1 1 0 2 AB (an alternative was B C )
3 AC
Example:
Example:
Example:
f = (A + C )(A + B)(A + C )
Second Example:
Assume the K-Map:
f ab
00 01 11 10
00 0 0 0 1
01 1 0 0 1
cd
11 1 0 0 0
10 1 0 0 0
Second Example:
Assume the K-Map:
0 0 0 1 1 ac d which inverts to
a+c +d
01 1 0 0 1
cd
11 1 0 0 0
10 1 0 0 0
Second Example:
Assume the K-Map:
0 0 0 1 1 ac d which inverts to
a+c +d
01 1 0 0 1
cd 2 b which inverts to b
11 1 0 0 0
10 1
0 0
0
Second Example:
Assume the K-Map:
0 0 0 1 1 ac d which inverts to
a+c +d
01 1 0 0 1
cd 2 b which inverts to b
11 1 0 0 0
3 ac which inverts to a + c
10 1
0
0
0
Second Example:
Assume the K-Map:
0 0 0 1 1 ac d which inverts to
a+c +d
01 1 0 0 1
cd 2 b which inverts to b
11 1 0 0 0
3 ac which inverts to a + c
10 1
0
0
0
f = (a + c + d)(b)(a + c)
Dont Cares
1 For some Boolean functions the output for certain input
combinations, that is, for certain rows of the truth table, is a
dont care.
Dont Cares
1 For some Boolean functions the output for certain input
combinations, that is, for certain rows of the truth table, is a
dont care.
2 This usually applies because some combination of the input
signals cannot occur.
Dont Cares
1 For some Boolean functions the output for certain input
combinations, that is, for certain rows of the truth table, is a
dont care.
2 This usually applies because some combination of the input
signals cannot occur.
3 It is useful to use the dont care in the minimisation of the
Boolean function.
Dont Cares
1 For some Boolean functions the output for certain input
combinations, that is, for certain rows of the truth table, is a
dont care.
2 This usually applies because some combination of the input
signals cannot occur.
3 It is useful to use the dont care in the minimisation of the
Boolean function.
4 Dont cares are represented on a K-Map by a - symbol, or in
some texts by X (well use - since that symbol is used with
VHDL).
Dont Cares
1 For some Boolean functions the output for certain input
combinations, that is, for certain rows of the truth table, is a
dont care.
2 This usually applies because some combination of the input
signals cannot occur.
3 It is useful to use the dont care in the minimisation of the
Boolean function.
4 Dont cares are represented on a K-Map by a - symbol, or in
some texts by X (well use - since that symbol is used with
VHDL).
P
5 Using notation they are represented by for example:
X X
f = m(0, 1, 3, 5, 7) + d(2, 4)
f AB
00 01 11 10
0 0 1 1 1
C
1 - 0 - 1
X X
f = m(1, 2, 3, 5, 7) + d(10, 11, 12, 13, 14, 15)
f ab
00 01 11 10
00 0 0 - 0
01 0 0 - 0
cd
11 0 1 - -
10 0 1 - 1
0 1 - 1
0 1 - 1
0 1 - 1
Technology Mapping
Technology Mapping
Technology Mapping
f = ab + cd
Technology Mapping
f = ab + cd f
c
f
c
f
c
f = ab + cd
f = ab + cd
= ab + cd
f = ab + cd
= ab + cd
= (ab) . (cd)
f = (a + b)(c + d)
f = (a + b)(c + d)
= (a + b)(c + d)
f = (a + b)(c + d)
= (a + b)(c + d)
= (a + b) + (c + d)
f = (a + b) + (c + d)
is then:
f = (a + b) + (c + d)
is then:
f
c