ASIC & FPGA Chip Design:: Mahdi Shabany
ASIC & FPGA Chip Design:: Mahdi Shabany
Introduction
Mahdi Shabany
Department of Electrical Engineering
Sharif University of technology
Course Code: 25776
ASIC FPGA
© M. Shabany, ASIC & FPGA Chip Design
Course Description
Hardware Description Language (HDL) :Verilog
Professional Verilog Coding for Synthesis
Verification Techniques
FPGA Architectures
Digital System Design with Xilinx FPGAs
ASIC Digital Design Flow (from Verilog to the actual Chip!)
Synthesis Algorithms
Power Dissipation
Power Grid and Clock Design
Fixed-point Simulation Methodology
Detailed Design Optimization Workshop with ISE (for the fist time!)
Standard
Specifications
Cells
Pre-Layout Post-Layout
Simulation Yes Timing Yes Back Yes
RTL Coding Synthesis APR Timing Logic
Pass? Alanysis Annotation Alanysis verification
Pass? Pass?
NO NO
Test Bench Timing NO
Constraints
Tapeout
1. HDL Coding 2. Simulation 3. Synthesis 4. Placement & routing 5. Timing Analysis & Verification
Front-End Back-End
In this course we learn all the above steps in detail for
ASIC Platform
FPGA Platform
Total: 100
If both the midterm and final marks are less than 50%, the total mark is calculated only
based on the exams and assignments will not be taken into account.
IC Design Flow:
Course Lecture notes, 2014
Digital IC Design Flow, provided by the instructor, 2014
1951: Shockley invented the first junction transistor for mass production
(US Patent 2623105)
Jack Kilby :1959که در ) Texas Instrument (TIکار می کرد ایده مدار مجتمع یک
پارچه را مطرح کرد .در این طرح قطعات به وسیله سیم های لحیم شده به یکدیگر متصل
می شدند و از دیودهای PNبه عنوان مقاومت استفاده می شد ( (U.S Patent
)3,138,473
)50$ منطقی را تولید انبوه کردند (هر کدامIC اولینFairchild وTI :1961
شانزده بیتی ساخته شدRipple Carry Adder :1962
Fairchild bipolar RTL Flip-Flop RCA 16-transistor MOSFET IC
اولین کامپیوتر قابل برنامه ریزی چند منظوره برای شرکت ماشین حساب ژاپنی
K 1 Billion Transistors
1,000,000
Projected
100,000
Pentium® III
10,000 Pentium® II
Pentium® Pro
1,000 Pentium®
i486
100 i386
80286
10 8086
1
1975 1980 1985 1990 1995 2000 2005 2010
Source: Intel
(1971) (2017)
1000 Transistors (1 MHz) Intel Corei7 -7700K(~ 4.2 GHz)
Process: 10um Process: 14nm
Fully Handcrafted Fully Automated
Manual Layout Automated Layout
Individually Optimized Hierarchical Design
Digital Very Large Scale Integration (VLSI) (Not Analog!)
With every generation can integrate 2x more functions on a chip; chip cost
does not increase significantly
But …
How to design chips with more and more functions?
Design engineering population does not double every two years…
Hence, a need for more efficient design methods
Exploit different levels of abstraction
Silicon Cylinder
Circuit Core
Packaged Die Final Test
Unpackaged Die
© M. Shabany, ASIC & FPGA Chip Design
IC Manufacturing Process
Circuit core
Cavity
Die Bond wire
Package Trace
Patterned Silicon
PAD Wafer
Packaged Die
Lead
Circuit Core
Voice
Modulator
Power
Amplifier
High-frequency
carrier
Receiver:
Down
Demodulator
Converter
Low-Noise Audio
Amplifier Amplifier
Analog/RF
Down
ADC Demodulator Equalizer
Converter
Low-Noise
Amplifier
Voice De-interleaving
DAC
Decompression Decoding
Audio
Amplifier
Digital (Baseband)
Block
diagram Final chips
customers
Layout
Fixed datapath-width. Ex: 24-bit adder, is not efficient for 5-bit addition
Limited resources
Digital IC
PLDs ASIC
This course
The white portions of the timeline bars indicate that although early incarnations of these technologies
may have been available, they weren’t enthusiastically received by the engineers working in the
trenches during this period. For example, although Xilinx introduced the world’s first FPGA as early as
1984, design engineers didn’t really start using it until the early 1990s.
FPGA Drawbacks:
Slower than ASIC (2-3 times slower)
Power hungry (up to 10 times more dynamic power)
Use more transistors per logic function
More area (20 to 35 times more area than a standard cell ASIC)
ASIC Drawbacks:
Implements a particular design (not programmable)
Takes several months to fabricate (long turn-around)
More expensive design tools
Very expensive engineering/mask cost for the first successful design
The ASIC is accompanied by increasing nonrecurrent engineering (NRE) costs which meant
that there was an increased emphasis on “right first time” design.
These NRE costs is largely due to the cost of generating masks as it is becoming more
expensive to generate the masks for finer geometries needed by shrinking silicon
technology dimensions.
ASIC FPGA
Application Specific Field Programmable
Integrated Circuit Gate Array
Bought off the shelf & reconfigured
Expensive & time consuming
by the end designers
fabrication in semiconductor
foundry
No physical layout design
Designed all the way from
behavioral description to Design ends with a bitstream used
physical layout to configure a device
Off-the-shelf
High performance
Low cost in
high volumes Re-configurability
Standard Cells
Already laid out MODULE
Avoid re-design +
Same as programming GATE
Functionality
Delay characteristics G
DEVICE
Area S
n+ n+
D
NOT:
How the module was designed This Course VLSI Course
Detailed solid-state behavior
MUX A C Q
Register
Circuit &
L |
Logic ROM D Qn
U
Register Transfer
Algorithmic Circuit Level
Architectural
(System)
Example
Wafer size of 12 inches, die size of 2.5 cm2, 1 defects/cm2,
= 3 (measure of manufacturing process complexity)
Vin
Propagation delay
input 50% tp = (tpHL + tpLH)/2
waveform
t
tpHL tpLH
Vout
90%
output
50% signal slopes
waveform
10%
t
tf tr
© M. Shabany, ASIC & FPGA Chip Design
Device Metrics
Performance Metrics of a Digital Chip:
Cost
NRE (fixed) costs - design effort
RE (variable) costs - cost of parts, assembly, test
Speed Single Die
Delay (ns) → Operating Frequency (MHz)
Power Dissipation
Energy to Perform a Function
Energy per bit (nJ/b)
Reliability
Noise immunity
Noise margin
Scalability Wafer
Larger Designs
Time-to-Market
Average power
Battery current delivery, cooling system
Static power vs. Dynamic power
Static current no computation, etc
Dynamic current Switching on/off the gates
The higher the number of switching events, the higher the dynamic power consumption
VOH "1"
NMH = VOH - VIH
VIH
Noise Margin High Undefined
Region
Noise Margin Low VIL
NML = VIL - VOL
VOL
"0"
Gnd Gnd
Gate Output Gate Input
Noise immunity expresses the ability of the system to process and transmit
information correctly in the presence of noise (noise rejection)
For good noise immunity, the signal swing (i.e., the difference between VOH
and VOL) and the noise margin have to be large enough to overpower the
impact of fixed sources of noise
Si Si Si
n-type p-type
Group V dopants Si Si Si Group III dopants
Five valence electrons 3 valence electrons
Extra electron free to move Si Si Si Missing electron(hole) free to move
Negative carrier Positive carrier
Example: Example:
Arsenic, Phosphorus Boron
Si Si Si Si Si Si
- +
Si As + Si Si B- Si
Si Si Si Si Si Si
p bulk Si D S
B
Consists of :
Gate (Metal (old), Polysilicon (now)) nMOS
Insulating layer (SiO2 (oxide- glass))
Source (n+ in nMOS, p+ in pMOS)
Drain (n+ in nMOS, p+ in pMOS)
Body (conductor)
n+: Heavily doped n-type
P+: Heavily doped p-type
OFF
n+ n+
p bulk Si
ON
n+ n+
p bulk Si
G
p+ p+
p bulk Si D S
B
pMOS
© M. Shabany, ASIC & FPGA Chip Design
MOS Transistors
L is the channel length
L : Process parameter, technology
Smaller L → Faster transistors → higher speed circuits
Typical process values: 0.35μm, 0.18μm, 0.13μm, 90nm, 60nm, …
VDD decreases by technology
1.5 V for 0.18 μm
1.2 V for 0.13 μm
Lower VDD saves power consumption
GND = 0 V
SiO2
n+ diffusion
p+ diffusion
n+ n+ p+ p+
polysilicon
n well
p substrate
metal1
p+ n+ n+ p+ p+ n+
n well
substrate tap p substrate
well tap
Cross Section along Dashed Line
GND VDD
Top View
NWELL
اتصال subبه
بزرگترین منبع ارزان
PWELL
“Feature size”
polysilicon
L
n+ n+
p-type body
Can integrate 2× more functions per chip → ~2× less cost per function
Normalize for feature size when describing design rules ( Lmin / 2 )
E.g., = 90nm in 0.18 μm process
Top View
Metal 2
Via 12
Metal 1
I/O Pads
Core
I/O Pads
Design
Corner Corner
Pads I/O Pads Pads
Substrate Die
Lead Frame
Substrate
Package Types:
Die
Solder bumps
Interconnect
Layers
Substrate