




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Homework 2 Solutions
Prob. 1
The above is the soln obtained before the sweep-up phase. The EPIs and pseudo-EPIs are: PI 1 and PI 3 in fα (these are all fα’s PIs) and PI 3 and PI 7 in fβ. Deleting the MTs covered By PI 3 and PI 7 in fβ, we get MT 19 remaining which need to be covered by PI 5 or PI 8. Both have the same cost, so either choice is OK, and the soln remain unchanged after sweep-up.
Prob. 4.
Prob. 6: 5.2(b): Coming Soon
Prob, 7 (a)
(b) By inspecting the expressions of each Si and Ci , it is clear that there are no common MTs between S (^) i and Cj, when i != j. Further inspecting the PIs of each Si , Ci , we see that there are common MTs only between the PI Ai BiC (^) i-1 of Si and each of the 3 PIs of C (^) i (the other PIs of S (^) i have a complement in at least one of the variables present in each PI of Ci , and hence there cannot be an intersection between the MT sets of these PIs of Si and the PIs of Ci ). However, to share implicants between these PIs of Si and Ci , algebraically speaking, we need to decompose each PI of Ci into two, one of each will be Ai Bi Ci-1. For example, the PI A (^) i Bi of Ci will need to be decomposed into its two implicants as follows: Ai Bi = AiBi (Ci-1 + Ci-1’) = A (^) i Bi Ci-1 + Ai Bi Ci-1’. Of these 2 implicants, Ai Bi Ci-1 can be shared with the PI Ai Bi Ci-1 of Si. However, the 2 nd^ implicant from the above decomposition, A (^) i Bi Ci-1’ has no common MT with any PI of Si (again, due to a
similar reason as explained earlier for the lack of common MTs between the first 3 PIs of Si and all the PIs of C (^) i ; the similar reason now applies to the “remaining” decomposed implicant Ai Bi Ci-1’and all PIs of S (^) i ). Thus Ai Bi Ci-1’ has to be a non-shared implicant of C (^) i. Thus from one non-shared PI Ai Bi , we can obtain two constituent implicants, one of which can be shared with a PI of S (^) i and another which cannot be. So there is no reduction in the total # of PIs by forcing this sharing. The same argument applies to the rest of the PIs of Ci. Thus there is no point in applying multi-function QM to this set of functions (it will give the same solution as above, i.e., the one obtained by minimizing each function separately).