Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PLD / page 1
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PLD / page 3
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
2-to-4 decoder
A
AND array
AB
AB
AB
AB
AB
AB
AB
AB
Fuse
Input lines
Product
lines
If blown, OR
input is logic 0.
OR
array
O1
O2
O3
O4
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
Inputs
D
A
OR array
(programmable)
0
Simplified
symbology for PLDs
1
2
3
No
4
5
= hard-wired
(can't change)
= intact fuse
and no
= no connection
A
6
7
8
9
10
11
12
13
14
15
AND array
(hard-wired)
outputs
PLD / page 6
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PROM
l
The PROM
l The input lines to the AND array are hard-wired and the output lines to the OR
array are programmable
l Each AND gate generates one of the possible AND products
C
0
0
0
B
0
0
1
A
0
1
0
O3
1
1
1
0 0 1 1 1
0 1 1 1 1
1 0 1 1 1
1 1 1 1 1
O3 = 0 for other
combination of D,C,B,A
(Fuses are blown to program output according to the
truth table.)
PLD / page 7
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PROM
l
How many output functions and how many inputs for each function can be
programmed in a 512 x 4 ROM?
[N.B. 512 = 29 ]
PLD / page 8
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
OR array
(hard-wired)
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
AND array
(programmable)
PLD / page 9
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PAL
l Programmable Array Logic (PAL)
l The input lines to the AND array are programmable and the
output lines to the OR array are hard-wired
l Simplify the logic function before putting design into PLA.
PLD / page 10
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PAL
AND array
(programmable)
OR array
(hard-wired)
0
AB
CD
ABC
A BCD
ABCD
10
11
12
BD
13
CD
14
15
PLD / page 11
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PLD / page 12
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
O2=ABC
O0=A+BD+CD
PLD / page 13
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PROM
hard-wired
PAL
prog.
PLA
prog.
Output lines
prog.
hard-wired
prog.
Versatility
low
moderate
high
Difficulty in
low
manufacturing,
programming and
testing
moderate
high
PLD / page 14
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PLD / page 15
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PLD / page 16
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PLD / page 17
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
PLD / page 18
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
Terms
CPLD
l PAL and GAL are available only in small sizes, equivalent to a few hundred
logic gates. For bigger logic circuits, complex PLD (CPLD) can be used.
These contain the equivalent of several PAL linked by programmable
interconnections, all in one integrated circuit. CPLDs can replace thousands,
or even hundreds of thousands, of logic gates.
FPGA
l FPGA uses a grid of logic gates, similar to that of an ordinary gate array, but
the programming of connection is done by the customer, not by the
manufacturer.
PLD / page 19
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
Programming PLD
l Equipment to design and build circuits using PLDs
l
l
l
l
l
personal computer
PLD development software
programming fixture
software to drive the programming fixture
PLD
PLD / page 20
Hong
Hong Kong
Kong Institute
Institute of
of Vocational
Vocational Education
Education
Engineering
Engineering Dept
Dept
Digital
Digital Electronics
Electronics &
& Microcontroller
Microcontroller
Development Software
l
l
l
l
l
l
PLD / page 21