

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!


Digital Logic Spring 2003
COE/EE 243 Sample Exam #3 Solutions
(a) When designing for a PLA, one is often required to find multiple sum-or-products expressions for each output. Why is this so? Both the AND and the OR stages of the PLA are programmable. The ability to program OR stage allows the outputs of individual AND gates to be shared with multiple OR gates. This use of common terms allows for a possible minimal solution for the multiple output function where none of the individual outputs has been minimized fully. (b) However, when designing for a PAL, one is only required to find the minimal sum-of-products expressions for each output. Why is this so? The AND stage of the PAL is programmable, so it is useful to simplify each expression down to the minimal sum-of-products. However, the OR stage is fixed, and it is not possible to share outputs of the AND stage with multiple OR gates, therefore, it is not useful to find common terms to minimize the number of gates or inputs.
f 1 a b c ab b c abc abc a b c ab c f 2 a b c a b c a b ab a b a c bc abc abc a b c a b c a bc
F
C F
Y Y Y Y Y Y Y Y
I
I
I
A B
Digital Logic Spring 2003
Expression for a 4-to-1 MUX is: F A ^ B ^ I 0 A ^ BI 1 AB ^ I 2 ABI 3 The PLA implementation is shown below. a b I0 I1 I
f
I
Notice that D is common to both terms in f. Therefore D should be one of the control inputs. Since the first term has both A and C , choose one of them as the other input, so you donโt need a combination of both as an input. Your choices of control inputs are therefore: A and D or the set C and D. If you choose, expand the second term in f to add the dependence of the second term on A , resulting in: f A B C D AC ^ D ^ A ^ A B ^ D which simplifies to: f A B C D AC ^ D ^ A ^ B ^ D AB ^ D Similarly, if C had been chosen as the second control input, then expand expression out to: f A B C D AC ^ D ^ B C ^ D B CD These would be implemented as follows:
4-to- MUX (^) f(A,B,C,D)
Bโ
4-to- MUX (^) f(A,B,C,D)
A D
0 Bโ Cโ Bโ
C D
A Bโ 0