Chapter - 01 Course Introduction
Chapter - 01 Course Introduction
5
Course Outline
• Course Outline
• Introduction to ASIC/FPGA IC Design
Integrated Circuits (IC) History
Digital Design vs. Analog Design
ASIC vs. FPGA
Design Abstraction and Metrics
CMOS as the building block of Digital ASICs
Layout
Packaging
6
Course Description
How to go from Idea/Algorithm to the actual hardware
ASIC FPGA
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!)
Course Description:
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
Course Description:
Hardware Description Language
Verilog Fundamentals
Language Fundamentals
Modeling Combinational/Sequential Logic Circuits
Modeling Finite State Machines
Verilog for Verification
Verification/Simulation techniques with test‐benches
Verilog for synthesis
Verilog Styles for Synthesis
Architectural techniques for high‐speed designs
o Parallel proc., pipelining, retiming, …
Implementations of common operations
o Complex multiplication, division, complex norm, CORDIC
Fundamentals of fixed‐point realization
Course Description:
PLDs & FPGA Architectures
FPGA Technologies
SPLDs (PAL and PLA architectures)
Commercial CPLD Architectures
SRAM/LUT Based FPGAs
Anti‐fuse/MUX Based FPGAs
Flash Based FPGAs
FPGA Architectures
Heterogeneous/Homogeneous FPGAs
Fine‐grained, coarse‐grained and platform FPGAs
FPGA Elements & Design Trade‐offs
Logic Cells Common Architectures
Programmable Routing Channels Design
I/O & Pad architectures
Commercial FPGAs
Altera (FLEX 10K, Stratix III) , Xilinx (XC4000, Virtex II,4,5), Actel (Act3, Axcelerator)
Course Description:
Advanced Digital System Design with Xilinx FPGAs
Design Creation
Synthesize
Simulation
Constraints Entry
Implementation
Implementation Results Analysis – Timing Analysis
Implementation Results Analysis – Power Analysis
Implementation Results Improvement
Device Configuration and Programming
Design Debugging
Course Description:
Core Generator
CORE Generator Tool
Intellectual Property (IP) Cores
CORE Generator Tool files
Design Flows
Defining Memory Contents for RAM and ROM
Defining Coefficient Values in a COE File
Course Description:
ASIC Design Flow:
HDL Coding & Verification
Synthesis & Timing Optimization
Complete Synopsys Design Complier Design Flow
Physical Design
Cadence First Encounter
Floorplan (Initial floorplan and power planning)
Placement (Full‐scale floorplan and clock tree insertion)
Routing (power routing & Nanoroute)
Timing Closure (Analysis & Optimization of setup and hold time violations)
Fill (Filler Cells, Metal Fill, and Verify Geometry)
Course Description:
CAD Tool Algorithms:
Synthesis Algorithms
Two-level Optimization
Multi-level Logic Optimization
Technology Mapping
Course Description:
Power Dissipation
Power Dissipation concept
Dynamic Power
Static Power
Challenges
Course Description:
Power Grid and Clock Design
Power Distribution Design
Introduction
IR Drop
Ldi/dt Drop
Decoupling Capacitances
Clock Considerations
PLL/DLL Architecture
Course Description:
Prerequisites:
Only Digital Logic!
All the skills you need will be taught in the course
IC Design Flow:
Course Lecture notes, 2014
Digital IC Design Flow, provided by the instructor, 2014
Course Outline
• Course Outline
• Introduction to ASIC/FPGA IC Design
Integrated Circuits (IC) History
Digital Design vs. Analog Design
ASIC vs. FPGA
Design Abstraction and Metrics
CMOS as the building block of Digital ASICs
Layout
Packaging
20
Integrated Circuit (IC) History
Brattain and Bardeen invented the first transistor (US Patent 2524035): 1947
1951: Shockley invented the first junction transistor for mass production
(US Patent
2623105)
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!)
Process Improvement
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
IC Manufacturing Process
Silicon Cylinder
Circuit Core
Packaged Die Final Test
Unpackaged Die
IC Manufacturing Process
Circuit core
Cavity
Die Bond wire
Package Trace
Patterned Silicon
PAD Wafer
Packaged Die
Lead
Circuit Core
Course Outline
• Course Outline
• Introduction to ASIC/FPGA IC Design
Integrated Circuits (IC) History
Digital Design vs. Analog Design
ASIC vs. FPGA
Design Abstraction and Metrics
CMOS as the building block of Digital ASICs
Layout
Packaging
37
Digital vs. Analog Design : Analog Circuits
Transmitter: Analog/RF
Voice
Modulator
Power
Amplifier
High-frequency
carrier
Receiver:
Down
Demodulator
Converter
Low-Noise Audio
Amplifier Amplifier
Analog/RF
Digital vs. Analog Design : Analog-Digital Circuit
Transmitter:
Digital (Baseband) Analog/RF Front-end
Down
ADC Demodulator Equalizer
Converter
Low-Noise
Amplifier
Voice De-interleaving
DAC
Decompression Decoding
Audio
Amplifier
Digital (Baseband)
Digital vs. Analog Design
Digital Design Advantages:
More noise reliability
Allows signal decoding and amplification
Allows coding to achieve higher performance
Allows encryption for higher security
Provides a perfect vehicle for digital signal processing
Allows modular chip design
Enjoys the benefit of advanced sophisticated CAD tools
Can be verified on programmable devices before tape-out
Provides a platform to merge multiple networks such as
telephone, terrestrial TV and computer networks.
Digital vs. Analog Design
Digital System Design Steps
Specific application (e.g., Digital Image Processor)
As opposed to a general microprocessor
Design requirements
Images to be processed per second
Required processing
RTL
Interfacing
Dimension, power, price,…
General design and simulation
RTL level design to verify and simulate the design
Block
diagram Final chips
customers
Layout
Fixed datapath-width. Ex: 24-bit adder, is not efficient for 5-bit addition
Limited resources
Digital Systems Components
Microprocessors/Microcontrollers
Digital IC
PLDs ASIC
This course
Technology Timeline
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.
Course Outline
• Course Outline
• Introduction to ASIC/FPGA IC Design
Integrated Circuits (IC) History
Digital Design vs. Analog Design
ASIC vs. FPGA
Design Abstraction and Metrics
CMOS as the building block of Digital ASICs
Layout
Packaging
49
FPGA vs. ASIC
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)
FPGA vs. ASIC
Application Specific Integrated Circuit (ASIC) Advantages:
Faster
Lower power
Cheaper (if manufactured in large volumes)
Use less transistors per logic function
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
ASIC Mask Generation Cost
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.
Implementation Approaches (ASIC vs. FPGA)
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
physical layout
used to configure a device
Implementation Approaches (ASIC vs. FPGA)
ASICs FPGAs
Off-the-shelf
High performance
Low cost in
high volumes Re-configurability
ASIC vs. FPGA
57
Course Outline
• Course Outline
• Introduction to ASIC/FPGA IC Design
Integrated Circuits (IC) History
Digital Design vs. Analog Design
ASIC vs. FPGA
Design Abstraction and Metrics
CMOS as the building block of Digital ASICs
Layout
Packaging
57
Design Abstraction Levels
Divide-and-Conquer
Design modules once
SYSTEM
Instantiate them
thereafter
Standard Cells MODULE
Already laid out +
Avoid re-design GATE
Same as programming
Designer cares about module’s: CIRCUIT
Functionality
Delay characteristics G
DEVICE
Area S
n+ n+
D
NOT:
How the module was This Course VLSI Course
designed
Detailed solid-state behavior
57
Design Abstraction Levels
Y-Chart System Level Algorithmic Level
A:=A*B+F
I/O Processor IF(C=TRUE) THEN
A:=A+2*F
ELSE A:=A-1
RAM ROM ENDIF
MUX A C Q
Register
Circuit &
L |
Logic D Qn
ROM U
Register Transfer
Algorithmic Circuit Level
Architectural
(System)
57
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 Diameter: 10-30 cm
Time-to-Market Thickness: 1 mm
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
Cost of Integrated Circuits
NRE (non-recurring engineering) costs
Fixed cost to produce the design
• Design effort
• Design verification effort
• Mask generation
Influenced by the design complexity and designer productivity
More pronounced for small volume products
RE (Recurring costs) – proportional to the product volume (i.e., Variable)
Silicon processing
• also proportional to chip area
Assembly (packaging)
Test
fixed cost
Cost per IC = variable cost per IC + -----------------
volume
Recurring Costs
variable cost = cost of die + cost of die test + cost of packaging
----------------------------------------------------------------
final test yield
cost of wafer
cost of die = -----------------------------------
dies per wafer × die yield
× (wafer diameter/2)2 × wafer diameter
Dies per wafer = ---------------------------------- ---------------------------
die area 2 × die area
Example
Wafer size of 12 inches, die size of 2.5 cm2, 1 defects/cm2,
= 3 (measure of manufacturing process complexity)
252 dies/wafer (remember, wafers round & dies square)
Die yield of 16%
252 x 16% = only 40 dies/wafer die yield !
65
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
Performance
Vin
Propagation delay
input 50% tp = (tpHL +tpLH)/2
waveform
t
tpHL tpLH
Vout
90%
output
50% signal slopes
waveform
10%
t
tf tr
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
Power Consumption
Average power
Battery current delivery, cooling system
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
Course Outline
• Course Outline
• Introduction to ASIC/FPGA IC Design
Integrated Circuits (IC) History
Digital Design vs. Analog Design
ASIC vs. FPGA
Design Abstraction and Metrics
CMOS as the building block of Digital ASICs
Layout
Packaging
78
MOS Device Theory
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
MOS Device Theory
Four terminals: Body Source Gate Drain
1. Gate Polysilicon
2. Source SiO 2
3. Drain
4. Body G
n+ n+
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
nMOS Transistors
Gate–oxide–body stack looks like a capacitor
OFF
n+ n+
p bulk Si
nMOS Transistors
ON
n+ n+
p bulk Si
pMOS Transistors
SiO 2
G
p+ p+
p bulk Si D S
B
pMOS
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
CMOS
Silicon wafer is the base material
Diameter: 10-30 cm
Thickness: 1 mm
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
Layout
Chips are specified with set of masks
Minimum dimensions of masks determine transistor size (and hence
speed, cost, and power) SiO gate oxide 2
“Feature size”
polysilicon
Lmin= distance between source and drain (channel) gate
W
L
n+ n+
p-type body
Can integrate 2× more functions per chip → 2× less cost per function
Top View
Metal 2
Via 12
Metal 1
I/O Pads
Core
I/O Pads
Design
Corner Corner
Pads I/O Pads Pads
Chip Floorplan : Pads
97
Packaging
Package:
Die interface to outside world
Removes heat from chip
Mechanical support
Protects die against humidity
× Introduces delay/parasitics to the chip
Package Types:
Packaging Types
Die
Solder bumps
Interconnect
Layers
Substrate