Professional Documents
Culture Documents
Generic Array Logic (GAL)
Generic Array Logic (GAL)
Generic Array Logic (GAL)
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
PALs and GALs
PALs are programmed with a specialized programmer that
blows selected internal fuse links. After blowing the fuses,
the array represents the Boolean logic expression for the
desired circuit. A A B B
What function is X
X = AB + AB
The function represents an XOR gate.
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
PALs and GALs
The GAL (Generic Array Logic) is similar to a PAL but can
be reprogrammed. For this reason, they are useful for new
product development (prototyping) and for training purposes.
A A B B
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
PALs and GALs
PALs and GALs can be represented with a simplified
diagram. A single line can represent multiple gate inputs. The
logic shown is for the XOR gate, given previously.
Input buffer A A B B
Single line with slash
indicating multiple AND
gate inputs
Fuse blown
2 AB
X X
Fuse intact AB + AB
X X 2
AB
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
PALs and GALs
PALs and GALs have large array logic and include output
logic that varies in complexity. The output logic is connected
to each OR gate and together is referred to as a macrocell.
Two types of PAL/GAL macrocells are shown. For these
particular macrocells, the I/O pins can serve as an input or an
output. Tristate control
From From
AND I/O AND I/O
array array
To AND To AND
array array
Programmable fuse link to
control output polarity
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
Summary
PALs and GALs I1
7
Macrocell O1
I7 7
Macrocell I/O5
I8
7
Macrocell I/O6
I9
PLCC Package 7
I/O10
Macrocell O2
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
GAL CPLD
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved
GAL16V8 OLMC Structure
OE
CLK
11 T
10 S
01 M
00 U
vcc X
AC0
AC1(n)
P
O T
M O O
U M
1 X U I/O(n)
Q 1 X
FROM
AND
ARRAY D Q
XOR(n)
F 10-
M 11-
FEEDBACK U 0-1
X 0-0
FROM
ACO AC1(m) ADJ. STAGE
OUTPUT(m)
CLK AC1(n) OE
Floyd, Digital Fundamentals, 10th ed © 2009 Pearson Education, Upper Saddle River, NJ 07458. All Rights Reserved