Beruflich Dokumente
Kultur Dokumente
Agenda
Architecture Descriptions
CPLD FPGA Advantages / Disadvantages
Basic Definitions
CPLD
Course Grained Architecture Best for Wide, Fast Function Processing Relatively Small Designs
FPGA
Fine Grained Architecture Best for Narrow / Pipelined Functions Large Designs
4
LUT
LUT
LUT
FPGA Architecture
TDI TDO
VCCIO I/O 287 I/O 286 I/O 285 I/O 284 I/O 267 I/O 266 I/O 265 I/O 264
Input Bus
I/O 263 I/O 262 I/O 261 I/O 260 I/O 243 I/O 242 I/O 241 I/O 240 I/O 239 I/O 238 I/O 237 I/O 236 I/O 219 I/O 218 I/O 217 I/O 216 Global Routing Pool (GRP)
I/O 96 I/O 97 I/O 98 I/O 99 I/O 116 I/O 117 I/O 118 I/O 119 I/O 120 I/O 121 I/O 122 I/O 123 I/O 140 I/O 141 I/O 142 I/O 143
CPLD
FPGA
Slower pin to pin performance, due to lots of routing, but pipelining can help Good at Narrow Gating Funcitions Datapath Random Logic
Fast Predictable Performance Good at Wide Gating Functions State Machines Counters
FPGAs and CPLDs Can Compliment One Another In the Same Design!
LATTICE SEMICONDUCTOR CORPORATION CPLD VS FPGA February, 02 5
Performance
LE
4
LUT
LUT
LE
4
LUT
Row Interconnect
Single level allows high frequency AND low latency Very small functions burn logic
4 4
LUT LUT
LUT
Macrocell
68
LUT
Logic
FPGA Architecture
FPGAs Work Best With One - hot encoding for state functions
Fine Grain / Abundance of Registers makes One-Hot a good fit
FPGA EPROM
FPGA
EPROM or P
68
Technology Comparisons
Antifuse NO NO Slow
Testability
External Hardware
Full
No
Full
No
Full
EPROM
Limited
Pgmr
Gate Counting
Number of PLD Gates or Registers Doesnt Tell the Entire Story, The Application Does
Even among equivalent product types, Gate count is specsmanship, the only real way to see if a design will fit or fit better is to run it!
Applications Needing High Speed and Predictability Should Use CPLD Large Register Intensive Logic Applications Should Use FPGA Most Designs Have a Mixture of Qualities that Could Fit Either, So Both CPLD and FPGA Should Be Considered
Example NAND
VCC
A F B F B
The First Order of Importance Is to Have Enough Registers to Compete, Not Fight Over Gate Counts
Terms
FPGA Terms
FPGA - Field Programmable Gate Array SRAM - Static RAM
Program stored in outside EPROM, intelligent controller or through JTAG Port, FPGAs must be reprogrammed on every power-up
Configuration EPROM
External hardware used to hold FPGA programming file
FPGA Terms
LAB - Logic Array Block (Altera)
Consists of 8 LEs and associated control signals and routing
Pipeline
Putting functions in an assembly line format. Small portions done quickly allows a high clock speed and results at short intervals. The drawback is results take longer to get from input to output (latency)
Register
Register
Register
Register
No Clk Delay
LATTICE SEMICONDUCTOR CORPORATION CPLD VS FPGA February, 02 18
1 Clk Delay
2 Clk Delay
3 Clk Delay
FPGA Terms
SoC
System on a Chip
MPI
Microprocessor Interface
EBR
Embedded Block RAM
PLC
Programmable Logic Cell
PIO
Programmable Input/Output Cells
CIB
Common Interface Block
PFU
Programmable Function Unit
SLIC
Decoder / PAL like logic
Positioning
CPLDProduct Positioning
FPGA/FPSC Mach
ASSP
FPGA/FPSC
ASIC
Memory
ROM
GDX 5K GDX
MicroProcessor
Chip Set
5K
SPEED
DENSITY
5KVG
Wide Decode Buss Control (16-32-64 bit Buses) In One Level Complex High Speed Control Fast Muxing
Density
Mach/Mach4K
High Speed Decode
Speed
LATTICE SEMICONDUCTOR CORPORATION CPLD VS FPGA February, 02 22
CPU Requirements
Large
Datapath
FPSCs
Density
FPGAs
5K Family
M4K Family
Small
Propagation Delay
FPGA
CPLD
Some Small Designs Fit Better in Large CPLDs, Some Designs Require FPGA features
Summary
Understand the Design
Dont Assume the Best Hardware is an FPGA or CPLD