Analysis and Synthesis Algorithms 1

Download Report

Transcript Analysis and Synthesis Algorithms 1

Topics

Architecture of FPGA:
– Logic elements.
– Interconnect.
– Pins.
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
Architectural issues


How many logic elements in the FPGA?
LE structure:
– What functions?
– How many inputs?
– Dedicated logic?

What types of interconnect?
– How much of each type?


How long should interconnect segments be?
How should we vary interconnect?
– Uniform or non-uniform over chip?
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
FPGA architecture evaluation
methodology
FPGA
fabric
architecture
Logic
benchmarks
Place +
route
Area and
performance
evaluation
metrics
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
Evaluation metrics

Structural:
– Size of the logic element.
– Size of interconnect.

Mapping-related:
– Logic utilization.
– Interconnect utilization.
– Delay.
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
Logic element parameters

How many inputs?
– Too few inputs---more overhead per LE.
– Too many inputs---wasted capacity when
mapping logic to LEs.
Depends on circuit design of LE and
characteristics of logic.
 Typical choice: 4-inputs.

FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
LE clusters



Logic elements +
dedicated interconnect.
Less-than-full
i
Local
connectivity between
cluster inputs and LEs. routing
Smaller than maximal
LE.
FPGA-Based System Design: Chapter 3
l
LE
n
l
LE
Copyright  2004 Prentice Hall PTR
Logic cluster utilization (Betz &
Rose)



Logic utilization vs.
fraction of inputs
accessible to LE in
cluster.
Utilization at 100%
when only 50%60% of inputs are
accessible.
Also found that
connecting each
track to only one
LE output per
cluster was
sufficient.
© 1998 IEEE
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
Area efficiency vs. cluster size (Betz
& Rose)

Transistors
per LE vs.
cluster size.
– Includes
overhead
circuits.

Clusters in
size 1-8
were areaefficient.
© 1998 IEEE
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
Styles of FPGA interconnect
Local.
 Intermediate.
 Global:

– clock;
– signal.
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
channel
Interconnect paths
channel
channel
SW
LE
LE
channel
FPGA-Based System Design: Chapter 3
SW
Copyright  2004 Prentice Hall PTR
Intermediate wiring channels

A wire runs for L logic blocks:
LE
LE
LE
LE
switch
L=1
L=3
switch
switch
L=4
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
Wiring connection structure
Connects to 3 other wires at each endpoint.
 Connects to 1 other wire at channel
crossing.
 Can be driven by one output pin.

LE
FPGA-Based System Design: Chapter 3
LE
LE
LE
Copyright  2004 Prentice Hall PTR
Routing segment length vs. delay
(Brown et al)




Y axis: percentage of
length 2 tracks.
X axis: percentage of
length 3 tracks.
Remaining tracks are
of length 1.
Sweet spot with
majority of tracks
length 3.
© 1996 IEEE
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
Track distribution (Betz & Rose)

Is wiring concentrated near the center of the
FPGA?
– No.

Is wiring directional (horizontal/vertical)?
– No.

Make channels to I/O pins about 25%
larger.
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
Pinout

How many pins?
– Limited by technology.
– Too much logic, not
enough pins means we
can’t get signals offchip.
– Too many pins means
logic won’t be fully
utilized.
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
Rent’s Rule

Developed by E. F. Rent (IBM) in 1960.
– Experimentally derived from sample designs.

Number of pins vs. number of components is a
line on a log-log plot:
– Np = Kp Nsb

Parameters may vary based on technology:
– Rent measured b = 0.6, Kp = 2.5.
– Modern microprocessor has b = 0.455, Kp = 0.82.
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR
FPGAs and pins
Chip capacity is growing somewhat faster
than package pinout.
 Harder to use logic in a multi-FPGA design.

– Must try to fit a large function with a small
interface into the FPGA.
FPGA-Based System Design: Chapter 3
Copyright  2004 Prentice Hall PTR