2-2 HW 2 - Exercises - Logic - and - Computer - Design - Fundamentals - 4th - International - Edition
2-2 HW 2 - Exercises - Logic - and - Computer - Design - Fundamentals - 4th - International - Edition
PROBLEMS
The plus (+) indicates a more advanced problem and the asterisk (*) indicates that
a solution is available on the Companion Website for the text.
1. *Demonstrate by means of truth tables the validity of the following identities:
(a) DeMorgan’s theorem for three variables: XYZ ⫽ X ⫹ Y ⫹ Z
(b) The second distributive law: X ⫹ YZ ⫽ (X ⫹ Y)(X ⫹ Z)
(c) XY ⫹ YZ ⫹ XZ ⫽ XY ⫹ YZ ⫹ XZ
2. *Prove the identity of each of the following Boolean equations, using algebraic
manipulation:
(a) X Y ⫹ XY ⫹ XY ⫽ X ⫹ Y
(b) AB ⫹ B C ⫹ AB ⫹ BC ⫽ 1
(c) Y ⫹ XZ ⫹ XY ⫽ X ⫹ Y ⫹ Z
(d) X Y ⫹ YZ ⫹ XZ ⫹ XY ⫹ YZ ⫽ X Y ⫹ XZ ⫹ YZ
3. +Prove the identity of each of the following Boolean equations, using algebraic
manipulation:
(a) ABC ⫹ B C D ⫹ BC ⫹ CD ⫽ B ⫹ C D
(b) WY ⫹ WY Z ⫹ WXZ ⫹ WXY ⫽ WY ⫹ WX Z ⫹ XYZ ⫹ XYZ
(c) A D ⫹ AB ⫹ CD ⫹ BC ⫽ ( A ⫹ B ⫹ C ⫹ D )( A ⫹ B ⫹ C ⫹ D )
4. +Given that A ⭈ B ⫽ 0 and A ⫹ B ⫽ 1 , use algebraic manipulation to prove
that
( A ⫹ C ) ⭈ ( A ⫹ B) ⭈ ( B ⫹ C ) ⫽ B ⭈ C
5. +A specific Boolean algebra with just two elements 0 and 1 has been used in
this chapter. Other Boolean algebras can be defined with more than two
COMBINATIONAL LOGIC CIRCUITS
F ⫽ ABC ⫹ A C ⫹ AB
(a) with only OR and complement operations.
(b) with only AND and complement operations.
9. *Find the complement of the following expressions:
(a) AB ⫹ AB
(b) ( VW ⫹ X )Y ⫹ Z
(c) WX( YZ ⫹ YZ ) ⫹ W X( Y ⫹ Z )( Y ⫹ Z )
(d) ( A ⫹ B ⫹ C )( A B ⫹ C )( A ⫹ B C )
10. *Obtain the truth table of the following functions, and express each function
in sum-of-minterms and product-of-maxterms form:
(a) ( XY ⫹ Z )( Y ⫹ XZ )
COMBINATIONAL LOGIC CIRCUITS
(b) ( A ⫹ B )( B ⫹ C )
(c) WXY ⫹ WXZ ⫹ WXZ ⫹ YZ
11. For the Boolean functions E and F, as given in the following truth table:
X Y Z E F
0 0 0 0 1
0 0 1 1 0
0 1 0 1 1
0 1 1 0 0
1 0 0 1 1
1 0 1 0 0
1 1 0 1 0
1 1 1 0 1
COMBINATIONAL LOGIC CIRCUITS
(b) AB ⫹ BC ⫹ A B C
(c) A B ⫹ AC ⫹ BC ⫹ ABC
16. Optimize the following Boolean functions by means of a four-variable map:
(a) F( A, B, C, D ) ⫽ ⌺m ( 2, 3, 8, 9, 10, 12, 13, 14 )
(b) F( W, X, Y, Z ) ⫽ ⌺m( 0, 2, 5, 6, 8, 10, 13, 14, 15 )
(c) F( A, B, C, D ) ⫽ ⌺m ( 0, 2, 3, 7, 8, 10, 12, 13 )
17. Optimize the following Boolean functions, using a map:
(a) F( W, X, Y, Z ) ⫽ ⌺m( 0, 2, 5, 8, 9, 10, 11, 12, 13 )
(b) F( A, B, C, D ) ⫽ ⌺m ( 1, 3, 6, 7, 9, 11, 12, 13, 15 )
18. *Find the minterms of the following expressions by first plotting each
expression on a map:
(a) XY ⫹ XZ ⫹ XYZ
(b) XZ ⫹ WXY ⫹ WXY ⫹ WYZ ⫹ WYZ
(c) B D ⫹ ABD ⫹ ABC
19. *Find all the prime implicants for the following Boolean functions, and
determine which are essential:
(a) F( W, X, Y, Z ) ⫽ ⌺m( 0, 2, 5, 7, 8, 10, 12, 13, 14, 15 )
(b) F( A, B, C, D ) ⫽ ⌺m( 0, 2, 3, 5, 7, 8, 10, 11, 14, 15 )
(c) F( A, B, C, D ) ⫽ ⌺m ( 1, 3, 4, 5, 9, 10, 11, 12, 13, 14, 15 )
20. Optimize the following Boolean functions by finding all prime implicants and
essential prime implicants and applying the selection rule:
(a) F( W, X, Y, Z ) ⫽ ⌺m( 0, 2, 3, 5, 7, 8, 10, 11, 12, 13 )
(b) F( A, B, C, D ) ⫽ ⌺m( 3, 4, 5, 7, 9, 13, 14,15 )
(c) F( W, X, Y, Z ) ⫽ ⌺m( 0, 2, 4, 6, 7, 8, 9, 12, 13, 15 )
21. Optimize the following Boolean functions in product-of-sums form:
(a) F( W, X, Y, Z ) ⫽ ⌺m( 0, 2, 3, 4, 8, 10, 11, 15 )
(b) F( A, B, C, D ) ⫽ ⌸M ( 0, 2, 4, 5, 8, 10, 11, 12, 13, 14 )
22. *Optimize the following expressions in (1) sum-of-products and (2) product-
of-sums forms:
(a) AC ⫹ BD ⫹ ACD ⫹ ABCD
(b) ( A ⫹ B ⫹ D )( A ⫹ B ⫹ C )( A ⫹ B ⫹ D )( B ⫹ C ⫹ D )
(c) ( A ⫹ B ⫹ D )( A ⫹ D )( A ⫹ B ⫹ D )( A ⫹ B ⫹ C ⫹ D )
23. Optimize the following functions into (1) sum-of-products and (2) product-of-
sums forms:
COMBINATIONAL LOGIC CIRCUITS
F( A, B, C, D ) ⫽ A C ⫹ AB ⫹ BD ⫹ AC ⫹ AB
28. +Apply the simplified Espresso algorithm to the following function. Show a
K-map for each algorithm routine that changes one or more implicants.
F( A, B, C, D ) ⫽ A B D ⫹ B CD ⫹ BC ⫹ AB ⫹ ACD
COMBINATIONAL LOGIC CIRCUITS
F( A, B, C, D ) ⫽ ABCD ⫹ AD ⫹ AD
34. (a) Implement function H = X Y+XZ using two three-state buffers and an
inverter.
(b) Construct an exclusive-OR gate by interconnecting two three-state
buffers and two inverters.
35. (a) Connect the outputs of three 3-state buffers together, and add additional
logic to implement the function
F = ABC + ABD + A BD
Assume that C, D, and D are data inputs to the buffers and A and B pass
through logic that generates the enable inputs.
(b) Is your design in part (a) free of three-state output conflicts? If not,
change the design to be free of such conflicts.