Download Evolution of Programmable Logic Devices: From SPLDs to FPGAs and more Study notes Deductive Database Systems in PDF only on Docsity!
WS 2006/
Evolution of Programmable
Logic Devices (PLDs)
Reconfigurable Computing
Marco Platzner
Evolution of PLDs
Implementing digital designs (historical view)
PLD overview
SPLD: programmable structures, ROM, PLA, PAL
CPLD and FPGA
FPGA: programmable structures
Switch technologies
Design tool flow
Modern classification of integrated circuits
FPGA architectures: classification, examples, an FPGA model
RC.2 Version-14.10.06^3
Implementing Digital Designs (Historical View)
Discrete devices ~1940s-50s
Discrete logic gates ~1950s-60s
Integrated circuits (IC)
- eg. TTL series 74LSxx, ~1960s-... 100s of different devices
- simple programmble logic devices ~1970s-... 2 levels of logic (SPLD)
- mask-programmable gate arrays ~1970s-... used to implement application-specific integrated circuits (ASICs)
- large programmable logic devices ~1980s-... multiple SPLDs on a chip (CPLD) programmable array of logic cells + programmable interconnect (FPGA)
- today several IC classes
trend toward higher levels of integration allows to implement larger designs with fewer components
Mask-Programmable Gate Array (MPGA) Pre-fabricated device with
- array of transistors or simple logic gates / sequential elements
- wiring channels, but no pre-fabricated wires
- I/O blocks
Customization through wiring at the manufacturer
- masks for wires and vias → mask-programmable gate array
Design
- use library of elements
- tools for automatic mapping to the device (place and route)
combinational and sequential logic
I/O blocks
wiring channels
RC.2 Version-14.10.06^7
SPLD - Programmable Structures (2)
Wide n- AND:
Programmable n- AND
- combines programmable interconnects with a wide logic function
z = x 1 ⋅ x 2 ⋅L⋅ x n
SPLD - Programmable Structures (3)
Wide n- OR:
Programmable n- OR
- combines programmable interconnects with a wide logic function
z = x 1 + x 2 +L+ x n
RC.2 Version-14.10.06^9
SPLD - Programmable Structures (4)
Programming
z = f ( xi )
programmable z^ ≠ f (^ xi^ )
input
SPLD - Programmable Structures (5)
Programmable n- AND and n- OR can be arbitrarily combined
- eg. in array form which matches two-level logic implementation AND plane followed by OR plane → sum-of-products (SOP) OR plane followed by AND plane → product-of-sums (POS)
example:
programmable array
- 3 inputs ( x 1 , x 2 , x 3 )
- 2 outputs ( z 1 , z 2 ) AND plane
- 6 inputs (all literals of 3 variables)
- 6 product terms, each with at most 6 literals OR plane
- 2 outputs, each with at most 6 product terms
RC.2 Version-14.10.06^13
PLA (Programmable Logic Array)
Programmable AND plane followed by programmable OR plane
- more compact and flexible than ROM because AND gates can compute any product term (not just minterms) AND plane does not compute all 2 n^ product terms
- PLAs were the first devices built for programmable logic implementation introduced ~1970s by Philips
- PLAs were commercially not successful due to the two levels programmable logic manufacturing was expensive devices had poor speed
PAL (Programmable Array Logic) Programmable AND plane followed by fixed OR plane
- smaller and faster than PLA
- PALs are commercially very successful introduced by MMI (AMD) exist in many versions with different number of inputs and outputs outputs can be registered to implement sequential circuits example: industry standard PALs 16R8 by AMD and many second sources
example:
RC.2 Version-14.10.06^15
PLD Overview (cont'd)
SPLDs (simple PLDs)
- are AND-OR programmable arrays ROM: fixed AND plane, programmable OR plane PLA: programmable AND plane, programmable OR plane PAL: programmable AND plane, fixed OR plane
- SPLDs are used to implement designs with up to ~200 gates
- for larger designs (more complex functions, more inputs) AND planes grow too large multi-level logic might be more efficient than 2-level logic
Two approaches for larger PLDs
- CPLD: multiple SPLDs plus programmable interconnect
- FPGA: programmable array of logic cells + programmable interconnect combines concepts of "field-programmable" and "gate array" → Field-Programmable Gate Array
CPLD (Complex PLD) CPLDs consist of
- a number of SPLD-like blocks (macrocells)
- I/O blocks
- a (more or less complex) programmable interconnect between the macrocells and the I/O blocks
Commercial CPLDs
- introduced by Altera
- exist in many different variants by Altera, AMD, Lattice, Cypress, Xilinx, …
macrocell
interconnect
I/O block
RC.2 Version-14.10.06^19
FPGA - Programmable Structures (2) Look-up table n -LUT
- an n -LUT has n inputs and one output
- a LUT can implement any logic function of the inputs how many logic functions are there?
- logically, an n -LUT is a ( 2 n^ x 1) bit memory, the logic function is determined by the contents of the LUT memory
3-LUT (8x1) memory
out
in 0 in 1 in 2
address lines data line
FPGA – Simple Logic Block
The logic block configuration
- is given by the contents of the LUT memory and the MUX control signal 4-LUT with 16 configuration bits multiplexor with 1 configuration bit
RC.2 Version-14.10.06^21
Switch Technologies (1)
Fuse (PLA)
- in the “on” state after fabrication; can be programmed (burned) to be “off”
- only one-time programmable
EPROM/EEPROM (SPLD, CPLD)
- switches implemented by floating gate transistors
- electrically programmable; erasable by UV light (EPROM) or electrically (EEPROM/Flash)
- re-programmable
xi
programmable AND
Switch Technologies (2)
Antifuse (FPGA)
- in the “off” state after fabrication; can be programmed (burned) to be “on”
- only one-time programmable
SRAM (FPGA)
- switches implemented by transistors which are controlled by SRAM cells
- relatively fast re-programmable (writing memory cells) → main technology for reconfigurable computing (currently )
crosspoint 2:1 MUX 3-LUT
RC.2 Version-14.10.06^25
Development of ICs - Phases
(^1) Design
Modeling Synthesis & Optimization Verification
(^2) Fabrication
Masks
Wafer
(^3) Testing
(^4) Packaging
Slicing
Packaging
Development of ICs - Design Styles (1)
IC development time = design time + manufacturing time
- custom design style (full-custom, “voll-kundenspezifisch”) long development time, high cost (all phases done during IC development) maximum optimization in performance, area, power consumption
- semicustom design styles (“halb-kundenspezifisch”) reduce the development time and cost cell-based designs reduce design time by using predefined elements MPGAs additionally reduce manufacturing time by pre-fabrication (except wiring) FPGAs are completely pre-fabricated, tested, and packaged (off-the-shelve devices)
typical ASIC design styles
RC.2 Version-14.10.06^27
Development of ICs - Design Styles (2)
cost @ high volume low low low high
cost @ low volume very high high high low
manufacturing time medium medium short very short
design time very long short short very short
performance very high high high medium-low
density very high high high medium-low
parameter custom cell-based MPGA FPGA
Design style characteristics
Development of ICs - Design Styles (3)
What is an application-specific IC (ASIC)?
- an ASIC is the opposite of a general-purpose IC the function of an ASIC is defined at fabrication time the function of a general-purpose IC is defined after fabrication time → an FPGA is a general-purpose IC
What are the design styles for ASICs and general-purpose ICs?
- ASICs are typically done in cell-based and MPGA styles, sometimes in full-custom (eg. space missions)
- general-purpose ICs are typically done in full-custom style, sometimes in cell-based (eg. highly regular structures in processors)
RC.2 Version-14.10.06^31
Example - Symmetrical Array (1)
Xilinx XC
- LUT-based logic block called configurable logic block (CLB)
- since 1991 (now matured), SRAM technology, up to ~180K gates
LUT
LUT
LUT
S
R
D Q E
Clk
S
R
D Q E
Clk
Example - Symmetrical Array (2)
Xilinx XC4000 - I/O Block
RC.2 Version-14.10.06^33
Example - Symmetrical Array (3) Xilinx XC4000 - Interconnect
programmable switch matrix
programmable connections
wires of different lengths
Example - Symmetrical Array (4) Xilinx XC4000 – Interconnect
- routing a signal through a switch matrix adds considerable delay → interconnect provides wires of different length
- single-length lines run between adjacent switch matrices (span one CLB row/column)
- double-length lines run twice as long as single-length lines (span two CLB rows/columns)
- long lines run the entire array of CLBs, for time-critical and high fanout signals driven by tri-state open drain drivers (eg. to implement buses)
RC.2 Version-14.10.06^37
Example – Hierarchical Array (2) Altera FLEX8000/
- 8 LEs plus a local interconnect form a logic array block (LAB)
- row and column interconnects
Example - Row-based FPGA
Actel Act-
- first antifuse device in 1988 (now outdated)
- MUX-based logic block (logic module), no dedicated registers
- segmented horizontal interconnect
logic module (LM) row-based interconnect (only connections for the LM in the middle shown)
RC.2 Version-14.10.06^39
Examples - Sea-of-Gates FPGA
Plessey
- 2D array of NAND-based logic blocks
- interconnect with wires of different lengths (local, short-range, long range)
- early 1990s (meanwhile, Plessey left the market), SRAM technology, up to ~40K gates
An FPGA Model (1)
Why an FPGA model?
- abstraction from the details of specific commercial FPGAs
- generalization required to investigate the problems in CAD for FPGAs
“Toronto” FPGA model
- is widely used in FPGA logic block and routing architecture research
- models a symmetrical array (there are also variants for hierarchical arrays)
- logic block contains a LUT, a register and a MUX