
ECE 349 Homework Assignment #6 Solutions
Show your work! You will not receive full credit for the answer alone.
1. (4 points) Using a PAL14L4, design a code converter that accepts as input the last five
bits of the ASCII code for a hexadecimal number and outputs the corresponding 4-bit
binary code. For example, if the input is 00101, the output is 1110 (E in hex). Assume
that the ASCII codes that do not represent hex digits will never occur as inputs. Note
that the PAL14L4 uses AND-NOR logic.
A B C D E W X Y Z
1 0 0 0 0 0 0 0 0
1 0 0 0 1 0 0 0 1
1 0 0 1 0 0 0 1 0
1 0 0 1 1 0 0 1 1
1 0 1 0 0 0 1 0 0
1 0 1 0 1 0 1 0 1
1 0 1 1 0 0 1 1 0
1 0 1 1 1 0 1 1 1
1 1 0 0 0 1 0 0 0
1 1 0 0 1 1 0 0 1
0 0 0 0 1 1 0 1 0
0 0 0 1 0 1 0 1 1
0 0 0 1 1 1 1 0 0
0 0 1 0 0 1 1 0 1
0 0 1 0 1 1 1 1 0
0 0 1 1 0 1 1 1 1
W= (AB0)0,X= (AC 0+C0D0+C0E0)0,Y= (AD0+D0E0+A0DE )0,
and Z= (AE0+A0E)0
2. For a PLA, it is often essential to maximize the number of common terms in the
design equations, while for a PAL, each design equation can be minimized individually.
Explain why this is the case.
In a PLA, the OR array is programmable. That is, a limited number of product terms
can be implemented and are shared by all of the design equations (OR gates). In a
PAL, the OR array is fixed so no product terms can be shared by design equations.
3. Do problem 11.2 on page 286 of your text.
V changes to 1 at 10 ns, back to 0 at 25 ns, and again to 1 at 35 ns. Z changes to 1 at
15 ns and back to 0 at 30 ns.
4. Do problem 11.4 on page 287 of your text.
(a.) R∗and S∗cannot be 0 simultaneously.
(b.) Q+= (S∗)0+R∗Q
(d.) S∗=S0and R∗=R0