Lecture25 Fpga Conclude
Lecture25 Fpga Conclude
06/27/24 1
Other Design Styles: FPGA
• Field Programmable Gate Array
• First introduced by Xilinx in 1984.
• Pre-fabricated devices and interconnect, which are
programmable by user.
• Advantages:
– short turnaround time.
– low manufacturing cost.
– fully testable.
– re-programmable.
• Particularly suitable for prototyping, low or medium-
volume production, device controllers, etc.
06/27/24 2
Comparison of Design Styles
Standard
Full-Custom Gate Array FPGA
Cell
programma
Cell type variable variable fixed
ble
programma
Interconnections variable variable variable
ble
Fabrication all routing
all layers layers only no layers
layers layers
06/27/24 3
Comparison of Design Styles
Full-Custom Standard Cell Gate Array FPGA
compact to
Area compact moderate large
moderate
high
Performance high moderate low
to moderate
06/27/24 4
Programming Technologies
• SRAM to control pass transistor / multiplexer
• EPROM – UV light Erasable PROM
• EEPROM – Electrically Erasable PROM
• Antifuses – One time programmable
06/27/24 5
Typical FPGA Architecture
• Consists of: Logic modules, Routing resources, and
I/O modules.
Logic Module
IO Module
Routing Tracks
& Switch boxes
06/27/24 6
FPGA Architecture Examples
Array-based Model Row-based Model
Logic
Sea-of-Gates Model Module Hierarchical Model
Routing
resources
overlayed
on logic
modules
06/27/24 7
Two Types of Logic Modules
Look-Up Table (LUT) based:
• A block of RAM to store the truth table.
• A k-input 1-output functions needs 2k bits.
• k is usually 5 or 6.
C
B
A
A
f
B
06/27/24 8
Two Types of Switchboxes
• First Type:
• Second Type:
06/27/24 9
Several Segmentation Models
• Non-Segmentation Model:
1 4 0 0 2 0 0 3 0 5 0 0 0 0
Not connecting
Connecting
0 0 0 1 0 0 4 0 2 0 3 0 0 5
• Uniform Segmentation Model:
1 4 0 0 2 0 0 3 0 5 0 0 0 0 Fuse or
Programmable
switch
0 0 0 1 0 0 4 0 2 0 3 0 0 5
06/27/24 10
Several Segmentation Models
• Uniform Staggered Segmentation Model:
1 4 0 0 2 0 0 3 0 5 0 0 0 0
0 0 0 1 0 0 4 0 2 0 3 0 0 5
1 4 0 0 2 0 0 3 0 5 0 0 0 0
0 0 0 1 0 0 4 0 2 0 3 0 0 5
06/27/24 11
Comparison of Segmentation Models
06/27/24 12
Physical Design of FPGAs
• Very different from other design styles
• Architecture dependent:
– LUT or Multiplexer in logic modules
– Type of switchboxes used
– Type of segmentation model used
– ......
• Physical Design:
– Partitioning
– Floorplanning/Placement
– Routing
06/27/24 13
Partitioning
• Want to partition the circuit such that each partition
(cluster) can be implemented by a logic module.
• Also called Clustering.
• # of I/O pins, not cluster sizes, is important.
(For multiplexer based logic modules, functionality of
clusters is also important.)
Example:
Using 4-LUTs
06/27/24 14
Placement
• Assign clusters formed during partitioning to logic
modules of FPGA.
• The problem is the same as gate-array placement.
06/27/24 15
Routing
• Global routing:
– Similar to global routing in other design styles.
– Minimize wire length and balance densities.
• Detailed routing:
– Very different from other design styles.
– Different algorithms for different segmentation models.
– Channels and switchboxes have fixed capacities.
06/27/24 16
Structured ASIC
• New buzz word, but essentially gate array
– Mask reconfigurable
– Not field reconfigurable
• Between FPGA and standard cells
– Balance delay/performance and mask cost
• Only programmable once
– by vias (e.g., Via-Programmable Gate Array – VPGA)
06/27/24 17
Physcial Design Automation
of MCMs and SiPs
06/27/24 18
MCM and SiP
• Multi-Chip Module
• System in package (SiP)
– Different package styles
– Thermal consideration for 3D
• Alternative packaging approach for high performance
systems.
• Similar to PCB and IC layout problems, but
– PCB layout tools cannot handle the dense and complex wiring
structure of MCM.
– IC layout tools cannot handle the complex electrical, thermal
and geometrical constraints.
06/27/24 19
Example: Pentium
Substrate size:
32mmx32mm
Package size:
43mmx43mm
(4 times smaller)
06/27/24 20
Partitioning
• Partitioning a circuit so that each sub-circuit can be
implemented into a chip.
• MCM may contain as many as 100 chips.
• Need to consider timing constraints and thermal
constraints
• In addition, also need to consider traditional I/O
constraints and area constraints.
06/27/24 21
Placement
• # of components is much less as compared to IC
placement.
• However, need to consider timing constraints and
thermal constraints (as bare chips are placed close to
each other).
• Routing is done in routing layers, not between chips.
• So no routing region needs to be allocated.
06/27/24 22
Routing
• Main objective is to satisfy timing constraints.
• Another objective is to minimize # of routing layers, not to
minimize routing area.
– Cost is directly proportional to # of layers
• Crosstalk, skin effect and parasitic effect are important
considerations.
• Wires are of smaller pitch and more dense than PCB layout.
06/27/24 23
EE382 V -- Conclusions
06/27/24 24
What Have Been Taught?
• Introduced different problems in Physical Design.
• Numerous algorithms which are different in terms of
– design styles
– objectives
– constraints
– techniques
– optimality
– efficiency
– robustness
– .....
06/27/24 25
What Is Important?
• Understand the problems
– How to formulate the problems, represent the constraints,
solutions, etc.
– Reasonable assumptions/abstractions
• Know fundamental algorithms to solve the problems.
• However, the world keeps on changing:
– technology
– objectives
– constraints
– requirement on solution quality
– computational power
• It is more important to learn how to think
– formulate the problem
– solve it smartly
06/27/24 26
Problem Solving Techniques
• Greedy Algorithm
• Simulated Annealing/Genetic Algorithm
• Mathematical Programming
– Linear, Quadratic, Integer Linear, geometric, posynomial, …
• Dynamic Programming
• Reduction to graph problems
– min-cut, max-cut, shortest path, longest path, bipartite
matching, minimum spanning tree, etc.
• Divide-and-Conquer
• Many different heuristics
• ....
06/27/24 27
VLSI Design Cycle
System Specification
Architectural Design
Micro-Architectural
Specification
Functional Design
Timing & Relationship
Between Units
Logic Design
RTL (in HDL)
Circuit Design
Netlist
06/27/24 28
VLSI Design Cycle
Netlist
Physical Design
Layout
Fabrication
Mask
Packaging
And Testing
Packaged Chips
06/27/24 29
Conventional Physical Design Cycle
Partitioning
Routing
06/27/24 30
Technology Trend and Challenges
Source:
ITRS’03
06/27/24 31
New Trends in Physical Design
• For nanometer IC designs, interconnect dominates
• New physical effects
– Noise: coupling, P/G noise
– Power: leakage, power/voltage islands
– Manufacturability: yield, printability
– Reliability, …
• More and more vertical integration
– Logic synthesis coupled with physical design
– Interconnect optimizations & design planning
– Physical design as a bridge between lower level modeling
and higher level optimization/planning
• Existing CAD algorithms are far away from optimal
06/27/24 32
Check points
Problem solving skills on underlying physical
design algorithms
Know what’s behind the scene of CAD tools
Know the trend and critique ability if given a new
research paper
Project study of a topic of your choice and
implementation (through class project)
Presentation skill
Paper writing and job preparation
06/27/24 33