Cs370 - Spring 2003 Programmable Logic Devices Pals/Plas
Cs370 - Spring 2003 Programmable Logic Devices Pals/Plas
Cs370 - Spring 2003 Programmable Logic Devices Pals/Plas
Inputs
Outputs
PALs and PLAs
Key to Success: Shared Product Terms
Equations
F0 = A + B' C'
Example: F1 = A C' + A B
F2 = B' C' + A B
F3 = B' C + A
Input Side:
1 = asserted in term
0 = negated in term
Product Inputs Outputs - = does not participate
term A B C F0 F1 F2 F3
AB 1 1 - 0 1 1 0 Output Side:
BC - 0 1 0 0 0 1 Reuse 1 = term connected to output
of 0 = no connection to output
AC 1 - 0 0 1 0 0
terms
BC - 0 0 1 0 1 0
A 1 - - 1 0 0 1
PALs and PLAs
Example Continued All possible connections are available
before programming
A B C
F0 F1 F2 F3
PALs and PLAs
Example Continued
A B C
AB
/BC
A /C
/B /C
Short-hand notation
so that all the wires need
not be drawn!
A B C D
AB
AB
Notation for implementing
CD F0 = A B + A' B'
F1 = C D' + C' D
CD
AB+AB CD + CD
PALs and PLAs
A B C
C
Multiple functions of A, B, C A
B
F1 = A B C
C
F2 = A + B + C ABC
ABC
F3 = A B C
ABC
F4 = A + B + C ABC
ABC
F5 = A xor B xor C
ABC
F6 = A xnor B xnor C ABC
F1 F2 F3 F4 F5 F6
PALs and PLAs
Difference between Programmable Array Logic (PAL) and
Programmable Logic Array (PLA):
00 0 1 X 0 00 0 0 X 1
Minimized Functions:
01 0 1 X 0 01 1 0 X 0
W=A+BD+BC 11 1 1 X X
D
11 0 1 X X
D
X = B C' C C
Y=B+C 10 1 1 X X 10 1 0 X X
A
BD
Programmed PAL: BC
BC
B
C
ABCD
BCD
AD
BCD
\A \A
A 1
\B
4
\C
B D
2 3 W
D
B
C 3
B
2 D
C 4 4 Z
A
5
B D 1 \D
22 1 X \B
C 1
C 3
\C \D
A A ABCD
AB AB
CD 00 01 11 10 CD 00 01 11 10 ABCD
00 1 0 0 0 00 0 1 1 1
ABCD
01 0 1 0 0 01 1 0 1 1
D D
ABCD
11 0 0 1 0 11 1 1 0 1
C C
AC
10 0 0 0 1 10 1 1 1 0
AC
B B BD
K-map for EQ K-map for NE
BD
A A
AB AB ABD
CD 00 01 11 10 CD 00 01 11 10
00 0 0 0 0 00 0 1 1 1
BCD
ABC
01 1 0 0 0 01 0 0 1 1
D D BCD
11 1 1 0 1 11 0 0 0 0
C C
10 1 1 0 0 10 0 0 1 0
B B
EQ NE LT GT
K-map for LT K-map for GT