
ECE 474a/574a - Homework 4
Due at the beginning of class March 28, 2007 (Friday)
1. (10 points) Provide a short description of the following algorithms. Indicate if the algorithm is an exact algorithm or a heuristic.
K-map
Quine-McCluskey
Espresso
Branch-and-bound
Simulated Annealing
2. (5 points) Determine if F(a, b, c, d) = a’c’d’ + a’c’d + a’cd + ac’d + ab’c is unate.
3. (5 points) Given the prime cover of F, F(c), is the function F unate?
4. (10 points) F(a, b, c, d) = ab’ + b’c’ + c’d + ad, calculate F’ using espresso’s UNATE_COMPLEMENT algorithm. Check your answer
with a K-map. (Be sure to show your work)
5. (5 points) Calculate the cofactor of F, Fc, with respect to the cube c = 1 0 2 2.
6. (10 points) Using Espresso’s COMPLEMENT function, compute Z’
ECE 574A Only
7. (5 points) Is a prime cover required to guarantee F is unate? Provide a short explanation (1 paragraph max).
8. (5 points) Why does binate select (Brayton Figure 3.4.1, reader page 73) only consider “1” or “0” entries but ignores “2” entries?
9. (10 points) Espresso’s COMP1 (Brayton Figure 4.1.2, reader page 83) function needs to determines if a cover is unate, if so
UNATE_COMPLEMTN is called. Write pseudo code that determines whether the function is unate.
0 1 0 2
F(c) = 0 1 2 0
2 2 0 0
1 1 2 0
2 2 1 2
F = 0 2 1 0
1 1 1 2
1 2 2 1
0 0 0 2
Z =
0 2 1 0
2 0 1 0
2 0 2 1
1 2 2 1