asic design vlsi
TRANSCRIPT
-
8/12/2019 ASIC Design Vlsi
1/77
Intro Design First Front Timing Synthesis Back Final
ASIC Design FlowHow to design your own chip
Frank K. Gurkaynak
Integrated Systems Laboratory
10. October 2006
Integrated Systems Laboratory (kgf) ASIC Design Flow 1 / 51
-
8/12/2019 ASIC Design Vlsi
2/77
Intro Design First Front Timing Synthesis Back Final Overview Who
Outline of the talk
1 Introduction
2 About design
3 First steps to design
4 Front-end
5 Understanding timing constraints
6 Logic synthesis
7 Back-end
Integrated Systems Laboratory (kgf) ASIC Design Flow 2 / 51
-
8/12/2019 ASIC Design Vlsi
3/77
Intro Design First Front Timing Synthesis Back Final Overview Who
Who am I ?
Frank K. Gurkaynak
Originally from Turkey
Working on IC design since 1994
Studied and gave IC design courses at:Istanbul Teknik Universitesi (ITU)Ecole Polytechnique Federale de Lausanne (EPFL)Worcester Polytechnic Institute (WPI)Eidgenossiche Technische Hochschule Zurich (ETHZ)
Worked on IC design at Motorola and IBM, worked for Philips
Integrated Systems Laboratory (kgf) ASIC Design Flow 3 / 51
-
8/12/2019 ASIC Design Vlsi
4/77
Intro Design First Front Timing Synthesis Back Final Overview Who
Who am I ?
Frank K. Gurkaynak
Originally from Turkey
Working on IC design since 1994
Studied and gave IC design courses at:Istanbul Teknik Universitesi (ITU)Ecole Polytechnique Federale de Lausanne (EPFL)Worcester Polytechnic Institute (WPI)Eidgenossiche Technische Hochschule Zurich (ETHZ)
Worked on IC design at Motorola and IBM, worked for PhilipsMade enough errors designing chips to last 3 careers.
Integrated Systems Laboratory (kgf) ASIC Design Flow 3 / 51
-
8/12/2019 ASIC Design Vlsi
5/77
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
What is Hardware Design ?
Physically implementing an idea, a function, a system in
hardware.
Integrated Systems Laboratory (kgf) ASIC Design Flow 4 / 51
I D i Fi F Ti i S h i B k Fi l Wh T d ff E l ASIC
-
8/12/2019 ASIC Design Vlsi
6/77
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
What is Hardware Design ?
Physically implementing an idea, a function, a system in
hardware.
Find the optimal balance between:Cost / Area
Speed / Throughput
Energy Consumption / Power Density
Design Time
Integrated Systems Laboratory (kgf) ASIC Design Flow 4 / 51
I t D i Fi t F t Ti i S th i B k Fi l Wh t T d ff E l ASIC
-
8/12/2019 ASIC Design Vlsi
7/77
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
Trade-offs in Design
No free lunch
Depending on the design, some parameters are more important.You can generally sacrifice one parameter to improve the other:
Integrated Systems Laboratory (kgf) ASIC Design Flow 5 / 51
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
-
8/12/2019 ASIC Design Vlsi
8/77
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
Trade-offs in Design
No free lunch
Depending on the design, some parameters are more important.You can generally sacrifice one parameter to improve the other:
Speed vs AreaIt is possible to speed up a circuit by using larger transistors,parallel computation blocks.
Integrated Systems Laboratory (kgf) ASIC Design Flow 5 / 51
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
-
8/12/2019 ASIC Design Vlsi
9/77
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
Trade-offs in Design
No free lunch
Depending on the design, some parameters are more important.You can generally sacrifice one parameter to improve the other:
Speed vs AreaIt is possible to speed up a circuit by using larger transistors,parallel computation blocks.
Design time vs Performance
Given enough time, the circuits can be optimized for higherperformance
Integrated Systems Laboratory (kgf) ASIC Design Flow 5 / 51
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
-
8/12/2019 ASIC Design Vlsi
10/77
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
What is Important for the Following Designs ?
Integrated Systems Laboratory (kgf) ASIC Design Flow 6 / 51
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
-
8/12/2019 ASIC Design Vlsi
11/77
Intro Design First Front Timing Synthesis Back Final What Tradeoffs Examples ASICs
Application Specific Integrated Circuits
When to use ASICs ?
The good:
Highest performance
Cheap for massproduction
The bad
Long development time
Not very configurable
Requires specialization
Integrated Systems Laboratory (kgf) ASIC Design Flow 7 / 51
Intro Design First Front Timing Synthesis Back Final Specs Feasibility Block Trans
-
8/12/2019 ASIC Design Vlsi
12/77
g g y p y
Design Specification
A list of requirements
FunctionWhat is expectedfrom the ASIC ?
PerfomanceWhat speed, power,area ?
I/O requirements
How will the ASIC fittogether with thesystem ?
Integrated Systems Laboratory (kgf) ASIC Design Flow 8 / 51
Intro Design First Front Timing Synthesis Back Final Specs Feasibility Block Trans
-
8/12/2019 ASIC Design Vlsi
13/77
g g y p y
We have specifications, but can we do it ?
Feasibility ?
For most of the projects:
We have never done it, so we dont know exactly!
We may:
Have experience from earlier projects
Make small experiments to estimate performance
Choose appropriate technology
Integrated Systems Laboratory (kgf) ASIC Design Flow 9 / 51
Intro Design First Front Timing Synthesis Back Final Specs Feasibility Block Trans
-
8/12/2019 ASIC Design Vlsi
14/77
Always Start with a Block Diagram
DataINxDI
DataOUTxDO
ModexSI
DebugDataIN
xDI
DebugENxSI
DebugCLKxCI
TaxSI
PenxSO
InvShiftRows
AddRoundKey
ShiftRows
Reg-128
Round KeyGenerator
Controller
64 x 32 SRAM
128
128
128
128
128128
128
128
128
128
32
ShiftRowsAddRoundKey
128
16 32
DebugAddrIN
xDI
4
Reg-128
Key Expansion
Iterative Process
Identify blocksWhat do we need to performthe functionality?
Integrated Systems Laboratory (kgf) ASIC Design Flow 10 / 51
Intro Design First Front Timing Synthesis Back Final Specs Feasibility Block Trans
-
8/12/2019 ASIC Design Vlsi
15/77
Always Start with a Block Diagram
DataINxDI
DataOUTxDO
ModexSI
DebugDataIN
xDI
DebugENxSI
DebugCLKxCI
TaxSI
PenxSO
InvShiftRows
AddRoundKey
ShiftRows
Reg-128
Round KeyGenerator
Controller
64 x 32 SRAM
128
128
128
128
128128
128
128
128
128
32
ShiftRowsAddRoundKey
128
16 32
DebugAddrIN
xDI
4
Reg-128
Key Expansion
Iterative Process
Identify blocksWhat do we need to performthe functionality?
Visualize structureHow are blocks connected?
Integrated Systems Laboratory (kgf) ASIC Design Flow 10 / 51
Intro Design First Front Timing Synthesis Back Final Specs Feasibility Block Trans
-
8/12/2019 ASIC Design Vlsi
16/77
Always Start with a Block Diagram
DataINxDI
DataOUTxDO
ModexSI
DebugDataIN
xDI
DebugENxSI
DebugCLKxCI
TaxSI
PenxSO
InvShiftRows
AddRoundKey
ShiftRows
Reg-128
Round KeyGenerator
Controller
64 x 32 SRAM
128
128
128
128
128128
128
128
128
128
32
ShiftRowsAddRoundKey
128
16 32
DebugAddrIN
xDI
4
Reg-128
Key Expansion
Iterative Process
Identify blocksWhat do we need to performthe functionality?
Visualize structureHow are blocks connected?
Find critical pathsWhich block is most critical
(speed, area, power)?
Integrated Systems Laboratory (kgf) ASIC Design Flow 10 / 51
Intro Design First Front Timing Synthesis Back Final Specs Feasibility Block Trans
-
8/12/2019 ASIC Design Vlsi
17/77
Always Start with a Block Diagram
DataINxDI
DataOUTxDO
ModexSI
DebugDataIN
xDI
DebugENxSI
DebugCLKxCI
TaxSI
PenxSO
InvShiftRows
AddRoundKey
ShiftRows
Reg-128
Round KeyGenerator
Controller
64 x 32 SRAM
128
128
128
128
128128
128
128
128
128
32
ShiftRowsAddRoundKey
128
16 32
DebugAddrIN
xDI
4
Reg-128
Key Expansion
Iterative Process
Identify blocksWhat do we need to performthe functionality?
Visualize structureHow are blocks connected?
Find critical pathsWhich block is most critical
(speed, area, power)?Divide and ConquerDraw sub-block diagrams
Integrated Systems Laboratory (kgf) ASIC Design Flow 10 / 51
Intro Design First Front Timing Synthesis Back Final Specs Feasibility Block Trans
-
8/12/2019 ASIC Design Vlsi
18/77
Architectural Transformations
Efficiency
Performance parameters:
Area (mm2
)Clock rate (MHz)
Throughput(data/sec)
Latency(num clock cycles)
Area
Time(to complete operation)
2
1
1 2
Faster
Smaller
More
Efficient
Parallelization
Pipelining
Iteration
Integrated Systems Laboratory (kgf) ASIC Design Flow 11 / 51
Intro Design First Front Timing Synthesis Back Final Specs Feasibility Block Trans
-
8/12/2019 ASIC Design Vlsi
19/77
Parallelization
More computation
If we use 2 parallel blocks:
Area doubles
Clock stays same
Throughput doubles
Latency stays same
Integrated Systems Laboratory (kgf) ASIC Design Flow 12 / 51
Intro Design First Front Timing Synthesis Back Final Specs Feasibility Block Trans
-
8/12/2019 ASIC Design Vlsi
20/77
Pipelining
Faster computation
if we introduce one pipeline
stage:Area increases a little
Clock doubles
Throughput doubles
Latency doubles
Integrated Systems Laboratory (kgf) ASIC Design Flow 13 / 51
Intro Design First Front Timing Synthesis Back Final Specs Feasibility Block Trans
-
8/12/2019 ASIC Design Vlsi
21/77
Iterative Decomposition
More clock cycles
If we can perform the
operation in two iterations:Area halves
Clock stays same
Throughput halves
Latency doubles
Integrated Systems Laboratory (kgf) ASIC Design Flow 14 / 51
Intro Design First Front Timing Synthesis Back Final Modelling HDL Sim Testb. Ver. Synth. Cells
-
8/12/2019 ASIC Design Vlsi
22/77
Building a Model
Make sure your system works
There are many languages that can be used for modelling:
C, C++, SystemC
Perl, Java, TclMatlab
Verilog, VHDL
This is not a religion, there is not one definitive answer.
Choose whatever is suitable, not always whatever you arecomfortable with.
Integrated Systems Laboratory (kgf) ASIC Design Flow 15 / 51
Intro Design First Front Timing Synthesis Back Final Modelling HDL Sim Testb. Ver. Synth. Cells
-
8/12/2019 ASIC Design Vlsi
23/77
Model Types
Key words in modellingbit-trueThe model mimicks the hardware at bit level. Numbers areactually computed at the same accuracy as the hardware
cycle-trueThe model accurately replicates how the hardware works forevery clock cycle.
transaction-basedA high level model that works on blocks of data. It calculates
the end result of the computation, intermediate steps are notavailable
The model is an important part of simulation environment
Integrated Systems Laboratory (kgf) ASIC Design Flow 16 / 51
Intro Design First Front Timing Synthesis Back Final Modelling HDL Sim Testb. Ver. Synth. Cells
-
8/12/2019 ASIC Design Vlsi
24/77
Describing Hardware
Next Lecture
We will discuss this topicin a second lecture
How to turn an ideainto an architecture
How to come up witha block diagram,
Converting blockdiagram into VHDLcode
Integrated Systems Laboratory (kgf) ASIC Design Flow 17 / 51
Intro Design First Front Timing Synthesis Back Final Modelling HDL Sim Testb. Ver. Synth. Cells
-
8/12/2019 ASIC Design Vlsi
25/77
Simulating your Design
Does it actually work ?
Behavioral simulationno delays for processing
No performance
parametersonly functionality is verified
Hardware descriptionNot every construct in
VHDL or Verilog can beimplemented in hardware.This simulation will notshow this.
Integrated Systems Laboratory (kgf) ASIC Design Flow 18 / 51
Intro Design First Front Timing Synthesis Back Final Modelling HDL Sim Testb. Ver. Synth. Cells
-
8/12/2019 ASIC Design Vlsi
26/77
Testbenches
DUT Golden Model
Clock Generator
Stimuli Generator
Comparator
stimuli
response expected response
simulationreport
Integrated Systems Laboratory (kgf) ASIC Design Flow 19 / 51
Intro Design First Front Timing Synthesis Back Final Modelling HDL Sim Testb. Ver. Synth. Cells
-
8/12/2019 ASIC Design Vlsi
27/77
Verification
Bug hunting
Time consumingThe majority of design is verification.
Exhaustive tests are not feasible
A 32 bit adder has 264 possible input combinations. If wecheck 1.000.000.000 inputs per second it will take 200 days !!
Every line we write, has a potential for errorPeople talk about 1 bug every 20 lines of code.
Golden models can be wrongSometimes, your hardware description is correct, but yourmodel is wrong.
Integrated Systems Laboratory (kgf) ASIC Design Flow 20 / 51
Intro Design First Front Timing Synthesis Back Final Modelling HDL Sim Testb. Ver. Synth. Cells
-
8/12/2019 ASIC Design Vlsi
28/77
Synthesis
Now that we have a working code, convert into hardware
Integrated Systems Laboratory (kgf) ASIC Design Flow 21 / 51
Intro Design First Front Timing Synthesis Back Final Modelling HDL Sim Testb. Ver. Synth. Cells
-
8/12/2019 ASIC Design Vlsi
29/77
Standard Cell Libraries
Collection of pre-designedgates
simple logic functionsand, or, xor, not, nand, nor
complex logic functionsadders, and-or-invert
sequential elementslatches, flip-flops
different drive strengthsEach cell has at least 2-4variations with differentcurrent driving capabilities
Integrated Systems Laboratory (kgf) ASIC Design Flow 22 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
-
8/12/2019 ASIC Design Vlsi
30/77
CMOS timing basics
Icharge
IdischargeCload
Goal: to charge the capacitor as fast as possible
Decrease load capacitance
Increase driving (strength) current
Integrated Systems Laboratory (kgf) ASIC Design Flow 23 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
MOS T i E i
-
8/12/2019 ASIC Design Vlsi
31/77
MOS Transistor Equations
ID,lin= CoxW
L [(VGS VT) VDS
VDS2
2 ]
ID,sat= CoxW
L
(VGS VT)2
2
Driving Current
The geometric parameters directly determine the amount ofcurrent that can flow through he transistor.
If length (L) is constant, transistors that are wider (W), havemore current. Larger transistors are faster
Integrated Systems Laboratory (kgf) ASIC Design Flow 24 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
C i i L d
-
8/12/2019 ASIC Design Vlsi
32/77
Capacitive Loads
Interconnect Capacitance
Fanout
Input Capacitance
Capacitive load sources
Input capacitance of gates
Interconnect capacitance
Integrated Systems Laboratory (kgf) ASIC Design Flow 25 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
I C i
-
8/12/2019 ASIC Design Vlsi
33/77
Input Capacitance
Mos capacitance
The dominantcapacitance is thegate capacitance.
The capacitance isproportional to thegate area.
The wider the
transistor the morecapacitance it has
Drain Source
Gate
Length
Widt
h
Bulk
n+n+n+n+
p-p-
Integrated Systems Laboratory (kgf) ASIC Design Flow 26 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Ti i B i
-
8/12/2019 ASIC Design Vlsi
34/77
Timing Basics
SummaryIf the load stays constant, making a transistor wider, willmake it faster.
Integrated Systems Laboratory (kgf) ASIC Design Flow 27 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Ti i B i
-
8/12/2019 ASIC Design Vlsi
35/77
Timing Basics
SummaryIf the load stays constant, making a transistor wider, willmake it faster.
A larger transistor will have a higher input capacitance
Integrated Systems Laboratory (kgf) ASIC Design Flow 27 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Timing Basics
-
8/12/2019 ASIC Design Vlsi
36/77
Timing Basics
SummaryIf the load stays constant, making a transistor wider, willmake it faster.
A larger transistor will have a higher input capacitance
It will be harder to drive this transistor
Integrated Systems Laboratory (kgf) ASIC Design Flow 27 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Timing Basics
-
8/12/2019 ASIC Design Vlsi
37/77
Timing Basics
SummaryIf the load stays constant, making a transistor wider, willmake it faster.
A larger transistor will have a higher input capacitance
It will be harder to drive this transistorFind a balance between driving strength and inputcapacitance
Integrated Systems Laboratory (kgf) ASIC Design Flow 27 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Timing Basics
-
8/12/2019 ASIC Design Vlsi
38/77
Timing Basics
SummaryIf the load stays constant, making a transistor wider, willmake it faster.
A larger transistor will have a higher input capacitance
It will be harder to drive this transistorFind a balance between driving strength and inputcapacitance
The fanout (number of driven gates) of a transistor and the
length of the interconnections determines the switching speed.Exact contribution of interconnect is not known at earlystages, has to be estimated.
Integrated Systems Laboratory (kgf) ASIC Design Flow 27 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Constraining your Circuit
-
8/12/2019 ASIC Design Vlsi
39/77
Constraining your Circuit
The synthesizer is lazy, if you dont set the proper
constraints it will select constraints that will make him
work less.
Always set proper constraints
Synthesis Constraints
max delay combinational delay
max area total circuit area
setting the constraint does not guarantee the result
Integrated Systems Laboratory (kgf) ASIC Design Flow 28 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Sequential Timing
-
8/12/2019 ASIC Design Vlsi
40/77
Sequential Timing
comb.circuit
comb.
circuit
comb.
circuit
comb.
circuit
tpd,reg2reg
tpd,FF tsetup,FF
Timing paths
In a sequential circuitthere are 4 different timing
paths:Register to register
Integrated Systems Laboratory (kgf) ASIC Design Flow 29 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Sequential Timing
-
8/12/2019 ASIC Design Vlsi
41/77
Sequential Timing
comb.circuit
comb.
circuit
comb.
circuit
tpd,in2regtinput
tsetup,FF
comb.
circuit
Timing paths
In a sequential circuitthere are 4 different timing
paths:Register to register
Input to register
Integrated Systems Laboratory (kgf) ASIC Design Flow 29 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Sequential Timing
-
8/12/2019 ASIC Design Vlsi
42/77
Sequential Timing
comb.circuit
comb.
circuit
comb.
circuit
tpd,reg2out
tpd,FF
toutput
comb.
circuit
Timing paths
In a sequential circuitthere are 4 different timing
paths:Register to register
Input to register
Register to output
Integrated Systems Laboratory (kgf) ASIC Design Flow 29 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Sequential Timing
-
8/12/2019 ASIC Design Vlsi
43/77
Sequential Timing
comb.circuit
comb.
circuit
comb.
circuit
tpd,in2outtinput toutput
comb.
circuit
Timing paths
In a sequential circuitthere are 4 different timing
paths:Register to register
Input to register
Register to output
Input to output
Integrated Systems Laboratory (kgf) ASIC Design Flow 29 / 51
Intro Design First Front Timing Synthesis Back Final CMOS Current Cap Delay Reg
Sequential Timing
-
8/12/2019 ASIC Design Vlsi
44/77
Sequential Timing
comb.circuit
tpd
tinput
tsetup,FF
comb.
circuit
comb.
circuit
comb.
circuit
toutput
tpd,FF
Timing pathsIn a sequential circuitthere are 4 different timingpaths:
Register to registerInput to register
Register to output
Input to output
One of these paths willlimit the performance ofthe system.
Integrated Systems Laboratory (kgf) ASIC Design Flow 29 / 51
Intro Design First Front Timing Synthesis Back Final Goal Results Surprises
Logic Synthesis Results
-
8/12/2019 ASIC Design Vlsi
45/77
Logic Synthesis Results
Synthesis is just a tool
Synthesis tools do not magically generate circuits
They are supposed to generate exactly the circuit that youwant
You must have a good idea of what the synthesis result will be
Integrated Systems Laboratory (kgf) ASIC Design Flow 30 / 51
Intro Design First Front Timing Synthesis Back Final Goal Results Surprises
Logic Synthesis Results
-
8/12/2019 ASIC Design Vlsi
46/77
g y
Synthesis is just a tool
Synthesis tools do not magically generate circuits
They are supposed to generate exactly the circuit that youwant
You must have a good idea of what the synthesis result will be
If the result is not as you expect, you should convince thesynthesizer to produce the correctresult.
Integrated Systems Laboratory (kgf) ASIC Design Flow 30 / 51
Intro Design First Front Timing Synthesis Back Final Goal Results Surprises
Different constraints, different circuits
-
8/12/2019 ASIC Design Vlsi
47/77
,
0.0
5.0k
10.0k
15.0k
20.0k
25.0k
30.0k
35.0k
40.0k
1 1.5 2 2.5 3 3.5 4 4.5 5
Area[squm
]
Propagation Delay [ns]
Area vs Propagation Delay
Look-up Table
Algorithmic Decomposition
ROM
solution
space
30.000m2.ns
40.000m2.ns
50.000m2.ns
60.000m2.ns
ConstantA
Tproduct
Integrated Systems Laboratory (kgf) ASIC Design Flow 31 / 51
Intro Design First Front Timing Synthesis Back Final Goal Results Surprises
Dont trust the synthesizer too much
-
8/12/2019 ASIC Design Vlsi
48/77
y
Integrated Systems Laboratory (kgf) ASIC Design Flow 32 / 51
Intro Design First Front Timing Synthesis Back Final Goal Results Surprises
Dont trust the synthesizer too much
-
8/12/2019 ASIC Design Vlsi
49/77
y
Integrated Systems Laboratory (kgf) ASIC Design Flow 32 / 51
Intro Design First Front Timing Synthesis Back Final Goal Results Surprises
Dont trust the synthesizer too much
-
8/12/2019 ASIC Design Vlsi
50/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 32 / 51
Intro Design First Front Timing Synthesis Back Final Goal Results Surprises
Dont trust the synthesizer too much
-
8/12/2019 ASIC Design Vlsi
51/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 32 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Back-end Design
-
8/12/2019 ASIC Design Vlsi
52/77
Now that we have a netlist, let us convert it to a physical layout
Integrated Systems Laboratory (kgf) ASIC Design Flow 33 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Floorplaning
-
8/12/2019 ASIC Design Vlsi
53/77
How will the chip look
Determine the totalarea/geometry of thechip
Place the I/O cells
Place pre-designed macroblocks
Leave room for routing,optimizations, powerconnections
Integrated Systems Laboratory (kgf) ASIC Design Flow 34 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Floorplaning
-
8/12/2019 ASIC Design Vlsi
54/77
How will the chip look
Determine the totalarea/geometry of thechip
Place the I/O cells
Place pre-designed macroblocks
Leave room for routing,optimizations, powerconnections
iterative process, cannot determine theperfectfloorplan fromthe beginning
Integrated Systems Laboratory (kgf) ASIC Design Flow 34 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Standard Cells - 2
-
8/12/2019 ASIC Design Vlsi
55/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 35 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Standard Cell Rows
-
8/12/2019 ASIC Design Vlsi
56/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 36 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Power Planning
-
8/12/2019 ASIC Design Vlsi
57/77
Standard Cell Row
I/O and Corner Pads
Placed on the Padframe
Macro Cell(RAM)
VDDGND
Power Stripe Block Power Ring
Block Halo
Standard Cells
Power Pad Connections
I/O to Core
Spacing
Standard Cell Power Connections
Integrated Systems Laboratory (kgf) ASIC Design Flow 37 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Placing Standard Cells
-
8/12/2019 ASIC Design Vlsi
58/77
NP hard problem
What is the best way of placing the cells within a given area sothat:
Critical path is minimumLong interconnections on the critical path add capacitance
The design is routableNot all placements can be routed.
The area is minimum
The routing overhead inreases area.
Integrated Systems Laboratory (kgf) ASIC Design Flow 38 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Clock Distribution
-
8/12/2019 ASIC Design Vlsi
59/77
Clock is the most critical signal
Standard digital systems relyon the clock signal being presenteverywhere on the chip at the same time: skew
Clock signal has to be connected to all flip-flops:high fan out
Specialized tools insert multi level buffers (to drive the load)and balance the timing by ensuring the same wirelength for allconnection.
Integrated Systems Laboratory (kgf) ASIC Design Flow 39 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Clock Distribution
-
8/12/2019 ASIC Design Vlsi
60/77
Clock is the most critical signal
Standard digital systems relyon the clock signal being presenteverywhere on the chip at the same time: skew
Clock signal has to be connected to all flip-flops:high fan out
Specialized tools insert multi level buffers (to drive the load)and balance the timing by ensuring the same wirelength for allconnection.
The following example is a 200 MHz 3D image renderer withroughly 3 million transistors. The clock distribution has:
10.928 flip-flops9 level clock tree478 buffers in the clock tree34 cm total clock wiring
Integrated Systems Laboratory (kgf) ASIC Design Flow 39 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
-
8/12/2019 ASIC Design Vlsi
61/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 40 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
-
8/12/2019 ASIC Design Vlsi
62/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 40 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
-
8/12/2019 ASIC Design Vlsi
63/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 40 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
-
8/12/2019 ASIC Design Vlsi
64/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 40 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
-
8/12/2019 ASIC Design Vlsi
65/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 40 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
-
8/12/2019 ASIC Design Vlsi
66/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 40 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Routing
-
8/12/2019 ASIC Design Vlsi
67/77
Determine interconnection
Multiple (3-9) metal routinglayers. Signals on differentlayers do not intersect.
Vias to interconnect metals
on adjacent layers.The longer theinterconnection:
The more the capacitanceThe slower the connection
The more the powerconsumption
Thin wires, vias addresistance
Integrated Systems Laboratory (kgf) ASIC Design Flow 41 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Extraction
-
8/12/2019 ASIC Design Vlsi
68/77
Timing information depends on interconnectOnce the physical design is complete, everything about theinterconnection network is known. It is possible to extract parasiticcapacitance for the interconnection
Wire capacitanceWire to wire capacitance
Wire - via resistance
The extracted information can be used to extract timing
information. It can be stored in special files (SDF, SPEF) and canbe used by circuit simulators.
Integrated Systems Laboratory (kgf) ASIC Design Flow 42 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Optimization
-
8/12/2019 ASIC Design Vlsi
69/77
Final timing with parasitics
Parasitics may influence timing severely. It is possible to makelocal optimizations to combat additional capacitance:
Buffers are added to long connectionsDriver strength of the standard cells is adjusted
Incremental change of placement
Critical paths are resynthesized
Integrated Systems Laboratory (kgf) ASIC Design Flow 43 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Design Rule Check
-
8/12/2019 ASIC Design Vlsi
70/77
0.5
0.25
0.5
vdd!
PMOS transistor
N-Substrate
Contact
NMOS transistor P-Substrate
Contactgnd!
0.25
0.25
0.25
0.1
0.6
0.6
0.
35
0.6
0.4
Production rules
Every physical layer has limitsthat are determined by the
production flow. These includeMinimum spacing
Minimum width
Minimum coverage
Minimum area
Integrated Systems Laboratory (kgf) ASIC Design Flow 44 / 51
-
8/12/2019 ASIC Design Vlsi
71/77
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Chip is Finished, Now Time For Fun
-
8/12/2019 ASIC Design Vlsi
72/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 46 / 51
Intro Design First Front Timing Synthesis Back Final Goals Fplan Cells Pwr Place Clk Route Ext Opt DRC
Tape-out
-
8/12/2019 ASIC Design Vlsi
73/77
Final stage of the designIn old times, the design data was transferred using magnetictapes, hence the name
The geometric data is electronically transfered to the
production siteUsually there will be an independent DRC check if problemsare found, we get asked to correct the problems
Then we wait 10-14 weeks for production.
Tape-out dates are well-known in advance, and are notnegotiable. You have to finish by the given date, no mercy!
Integrated Systems Laboratory (kgf) ASIC Design Flow 47 / 51
Intro Design First Front Timing Synthesis Back Final Chip Test Summary Nice
Your Very Own Chip
-
8/12/2019 ASIC Design Vlsi
74/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 48 / 51
Intro Design First Front Timing Synthesis Back Final Chip Test Summary Nice
Testing
-
8/12/2019 ASIC Design Vlsi
75/77
Now that we have our chip back
Does it really work ?The topic of a following lecture
Integrated Systems Laboratory (kgf) ASIC Design Flow 49 / 51
Intro Design First Front Timing Synthesis Back Final Chip Test Summary Nice
Summary of the Design Flow
m
-
8/12/2019 ASIC Design Vlsi
76/77
RTL Design
Synthesis
Test Insertion
RTL Simulation
Gate-level Sim.
Placement
ClockTree
Routing DRC LVS
Timing
Fault Grading
Timing
Gate-level Sim.
Synopsys
SiliconEnco
unter
Tetramax
P
earl
M
odelsim
Calibre
Integrated Systems Laboratory (kgf) ASIC Design Flow 50 / 51
Intro Design First Front Timing Synthesis Back Final Chip Test Summary Nice
A Good Looking Chip Will Always Work
-
8/12/2019 ASIC Design Vlsi
77/77
Integrated Systems Laboratory (kgf) ASIC Design Flow 51 / 51