文档介绍:CPLD / FPGA programming and with E-
blocks
matrixmultimedia
1
About this presentation
This presentation was
developed by John Dobson
– Managing Director of
Matrix Multimedia Limited.
PowerPoint versions of this
presentation are available
on request.
Notes on the presentation
are included with each
slide down here:
matrixmultimedia
2
Why study CPLD/FPGA programming?
A modern context for Digital Electronics
Death of the 74xxx device
You can plex circuits with ease
A key skill that industry wants –
particularly ‘System on Chip’ design
matrixmultimedia
3
Some definitions
CPLD: Complex Programmable Logic
Device
FPGA: Field Programmable Gate Array
These do essentially the same thing with different
technologies…more later
matrixmultimedia
4
What do they do?
These are reprogrammable logic devices
Designers use software to develop any
digital circuit they like and the program
the chip to perform the function
They are very fast – much faster than a
microcontroller
matrixmultimedia
5
A modern CPLD
The equivalent of 13
22V10s in one chip
128 flip flops or
Logic Elements
Electrically
reprogrammable
Can be programmed
in a number of
different languages
$10 (mid volume)
matrixmultimedia
Modern CPLDs effectively consist of a number of PLDs in the same package.
Electrically erasable now.
6
Modern CPLD architecture
Not really
INPUT/GCLK1
INPUT/OE2/GCLK2 important from a
INPUT/OE1
user’s point of view
INPUT/GCLRn – the software
6 or 10 output enables 6 or 10 output enables
LAB B
2 to 16 LAB A 2 to 16 takes care of it.
36 36 I/O
I/O 2 to 16 Macrocells Macrocells 2 to 16
control 1 to 16 17 to 32 control
block
2 to 16 I/O block 2 to 16 I/O
16 16
2 to 16 2 to 16
6 6
PIA
LAB D
LAB C 2 to 16
2 to 16 36 36
I/O
I/O Macrocells Macrocells
2 to 16 2 to 16 control
control 33 to 48 49 to 64