ASIC Physical Design
ASIC Physical Design
ASIC Physical Design
Outline
• ASIC Design Flow
• Physical Design
— Introduction to Physical Design
— Physical Design Inputs
— Physical Design Flow
Import Design & Partitioning
Floor-planning & Power planning
Placement & Placement Optimizations
CTS & CTS Optimizations
Routing & Routing Optimizations
Physical Verification (DRC, LVS, ERC)
DFM Checks
Formal Verification (LEC)
Parasitic Extraction (RC Extraction)
Timing Analysis (STA),
Power Analysis & IR Drop Analysis
Tape-out
ASIC Physical Design
ASIC Design Flow
Partitioning
System Specification
Floor Planning
ENTITY test is Architectural Design
port a: in bit;
end ENTITY RTL Design Placement
test; and Verification
Synthesize
Design the
F F F FF F
FFFFFF FFFFFF FFF CTS
FFF F F F F F F
Placement
Routing & Routing
PHYSICAL D
DRC
ERC LVS ESIGN
Signoff Parasitic Extraction
Packaging and
Testing Static Timing Analysis
— LEF contains
Cell Name, Shape, Size, Orientation
& Class
Port/Pin Name, Direction and Layout
Geometries
Obstruction/ Blockages
Antenna Diff. Area
ASIC Physical Design
Physical Design Inputs
• Technology Related files
— Technology file — Interconnect Parasitic file
Defines Units
Layers and Vias and
as Design
per theRules for
Technology Used for layer parasitic extraction
Name
Layers and
and Number
Vias conventions of Contains
resistance Layer/
valuesVia
in capacitance
a Lookup Tableand
Physical andVias
Electrical parameters of (LUT) format
Layers
E.g. and Also
for used
the to generate
extraction toolsparasitic formats
(e.g. nxtgrd,
Direction/Type/Pitch/Width/Offset/
Thickness/Resistance/Capacitance/ captbl)
Max. Metal Density/Antenna Rule/ Extraction
accurate tool formats are more
Blockages/Design Rules formats than interconnect parasitic
.ict - Interconnect
(Cadence Format) Technology Format
Manufacturing Grid definition .itf - Interconnect
Site/Unit Tile definition
(Synopsys Format)Technology Format
Technology fileLEF
hasfiles
to load before
.ptf - Process
Graphics Technology File (Mentor
Format)
loading
the other
layer information since
for it holds
that
particular technology — Map file
Useful if is there is 2 different naming
convections
.tech.lef (Cadence Format) InterconnectinParasitic
Technology
file file, LEF or
.tf - technology file (Synopsys Format)
ASIC Physical Design
Physical Design Inputs
• Power Specification File •Clock Tree Constraints/
— Power Modes & Power Domains Specification
— Tie Up supply & Tie Low supply • Root Pin Definition
— Power Nets & GND Nets • Insertion Delay (ID) and Skew Target
• Maximum Capacitance/ Transition/
• Optimization Directives Fanout (DRVs)
— Don’t use • Transition can be classified into Leaf
• Cells that are not supposed to Transition and Buffer Transition
optimize • No. of Buffer Levels (Tree depth) List
— Size only/ use only • of Buffers/ Inverters for CTS
• Upsizing/ Downsizing only with • List of Through pin, Preserved Pin,
this list of cells Exclude Pin
• NDRs can be defined in CTS Spec. for
• Design Exchange Formats the Clock Tree Routing
— List & locations of Components, Vias, • Macro Models
Pins, Nets, Special nets
— Die dimensions, Row definitions, • IO Information File
Placement and Bounding Box Data, — Pin/ Pad locations
Routing Grids, Power Grids, Pre-routes — Edge and order for IO Placement
— .def, .fp are the common formats — .tdf, .io are common formats
ASIC Physical Design
Physical Design Flow
Clock Tree
Routing Post-CTS Opt. Synthesis (CTS) Pre-CTS Opt.
Static Timing
Tape-out IR-Drop Analysis Power Analysis Analysis
ASIC Physical Design
Import Design
• Import Design
— The following input files information are loaded to the PnR tool
• Netlist (.v/ .vhd/ .edif)
• Physical Libraries (.lef)
• Timing Libraries (.lib)
• Technology Files
• Constraints (.sdc)
• IO Info. File (optional)
• Power Spec. File (optional)
• Optimization Directives (optional)
• Clock Tree Spec. File (optional at floorplan stage)
• DEF/ FP (optional if floorplan is not done)
— Core area is approximately calculated by the tool from the Netlist
— While Importing, first we have to load the LEF files and then LIB files
ASIC Physical Design
Import Design
• Sanity Checks
— Sanity Checks mainly checks the quality of netlist in terms of timing
— It also consists of checking the issues related to Library files, Timing
Constraints, IOs and Optimization Directives
— Some of the Netlist Sanity Checks:
Floating Pins
Unconstrained Pins
Un-driven i/p Ports
Unloaded o/p Ports
Pin direction mismatches
Multiple drivers etc.
— Other possible issues include Unconnected/ Wrongly Connected Tie-
high/ Tie-low Pins and Power Pins (since Tie-up or Tie-down
connectivity always through Tie-Cells)
Partitioning
An example of Partitioning:
— There will be 1 Core GND Pad along with every Core Power Pad
— No. of IO Power Pads needed:
Courtesy: asic-soc.blogspot.in
ASIC Physical Design
Power planning
• Sub-block Configuration
Grid Offset
Grid Steps
Core Boundary
Grid Spacing
Chip Boundary
Ring Width
Core Area
Ring Spacing
Rails
Horizontal
Core Ring Horizontal
Stripes Vertical Vertical
Core Ring
Stripes
ASIC Physical Design
Power planning
• Full Chip Configuration
• Cell Padding
— Cell Padding is done to reserve space for avoiding Routing Congestion
— Cell Padding adds Hard Constraints to Placement
— The Constraints are honored by Cell, Legalization, CTS, and Timing Optimization
ASIC Physical Design
Pre-Placement Optimization
• Pre-Placement Optimization Goals
— Routability
— Performance (Timing)
— Power (with Cells)
• Optimizations before Placement
— Delay models must be removed (if any)
— Zero-RC (0-RC) Optimization
— Isolation Cell Insertion
— Multi Corner Multi Mode (MCMM) settings before Std. Cell Placement
• Zero-RC Optimization
— Optimizes the netlist without any delay models, thus provides an optimal
starting point for placement
— Timing during 0-RC Opt and that of during Synthesis has to be matched
— Else indicate problems in the Technology File, Timing Library, Constraint Files,
or overall design
— Logical restructuring and up/down size are optimizations at the 0-RC stage
• Take care of don’t use cells while doing optimization
ASIC Physical Design
Placement
•Automated Standard Cell Placement for placing the Standard
Cells in Placement Tracks
• Placement Objectives
— Total wire length I/O
— Routability Placed Pads
— Performance Standard
— Power Cells
— Heat distribution
•Timing checks only with slow
corners at Placement stage
•Only Setup Time check, since
buffers are getting added during Macros
Clock Tree Synthesis
ASIC Physical Design
Placement
• Placement Methods
— Timing Driven Placement
To Refine placement based on congestion, timing and power
To optimize large sets of path delays
Net Based
— Congestion Driven Placement
To distance standard cell instances from each other such that more routing
tracks are created between them
•Control the delay on signal path by imposing an upper bound
delay or weight to net
ASIC Physical Design
Placement
• Placement Stages
— Global Placement
— Detail Placement
— Placement Legalization
— In-Place Optimizations
• Global/ Coarse Placement
— To get the approximate initial location Global/ Coarse Placement
— Cells are not legally placed and there
can be overlapping
• Detail/ Legal Placement
— To avoid cell overlapping
— Cells have legalized locations
— Legalize placement will place the cells
in their legal position with no overlap
Detail/ Legal Placement
ASIC Physical Design
Placement
• Placement Legalization
— Placed Macros are legally oriented with Standard Cell Rows
• In-Place Optimizations
— Scan Chain Reordering
• After Placement, report Congestion, Utilization and Timing
•Tie off cell instances provide connectivity between the Tie- high
and Tie-low logical inputs pins of the Netlist instances to Power
and Ground
• Tie off cells are placed after the placement of Standard Cells
• After placement check the Cell Density
• Global Route (GR)
— Whole region is divided into an array of rectangular sub-regions each of which
may accommodate tens of routing tracks in each dimension called Global Cells
— Global Route is performed to estimate the inter-connect parasitics and Routing
Congestion Map
ASIC Physical Design
Pre CTS Optimization/ Placement Opt.
• Cell Sizing
— Sized up/ down to meet optimizing for timing and area
— Up sizing will give timing advantage and Down sizing will give area advantage
• VT Swapping
— To optimize for leakage power (HVT, RVT/SVT, LVT)
• Cloning
— To reduce fanout
• Buffering
— Long nets are buffered or remove buffers to bring the timing advantage
• Re-Buffering
— To improve slews, reduce net capacitance and reduce fanout
• Logical Restructuring
— To optimize timing and area without changing the functionality of the design
— Breaking complex cells into simpler cells or vice versa
• Pin Swapping
ASIC Physical Design
Pre CTS Optimization/ Placement Opt.
• Optimization Techniques
- Resizing - Cloning - Buffering
d 0.2
e 0.2 d 0.2
a d 0.2 a
b a b
? b fge 0.2 ? f 0.2
e
g
f 0.3 ? 0.2
h 0.2 h 0.2
a a d d
e 0.2
0.2
A C A
b b e
0.035 0.026 a f
b g a fg 0.2
B b B B h 0.2
0.1
h
Sig1
Double Spacing
NDR
on Route
Clock net Gnd
Clk Double Width
Ground
Shielding
Gnd
Sig2
ASIC Physical Design
Clock Tree Synthesis (CTS)
• The Clock Problem
— Clock skew
— Long clock insertion delay
— Skew across clocks
— Heavy clock net loading
— Clock is power hungry
— Clock to signal coupling effect (CrossTalk)
— Electromigration on clock net
•Clock Tree is a path from the Clock Source (Root) to Clock Sinks
(Leaf)
•Clock Tree Synthesis is the process of creating this Clock Path
from Clock Source to Clock Sinks
•All Clock pins of flip Flop are considered as Clock Sinks (Leaf);
where the Clock Tree Synthesis ends
ASIC Physical Design
Clock Tree Synthesis (CTS)
Before CTS Clock Source
FF FF FF FF FF FF FF FF FF FF
FF FF FF FF FF FF FF FF FF FF
ASIC Physical Design
Clock Tree Synthesis (CTS)
• Main concerns for Clock Design
— Skew
Most important concern for clock networks
For increased clock frequency, skew may contribute over 10% of the system cycle
time
Due to variations in trace length, metal width and height, coupling caps
It can also be due to variations in local clock load, local power supply, local gate
length and threshold, local temperature
— Power
Very important, as clock is a major
power consumer Clock
It switches at every clock cycle
— Noise
Clock is often a very strong aggressor
May need shielding
— Delay
Not really important
But Slew Rate is important (sharp
transition)
ASIC Physical Design
Clock Tree Synthesis (CTS)
• Clock Skew: Spatial Clock Variation
A A
Compressed timing
path
B
Skew
ASIC Physical Design
Clock Tree Synthesis (CTS)
• Clock Jitter: Temporal Clock Variation
Compressed timing path
Period A Period B
Clock Jitter
Difference in clock
period over time
ASIC Physical Design
Clock Tree Synthesis (CTS)
• CTS Pre-requisites
— Legally Placed and Optimized with acceptable Congestion
— Timing should be good
— No Design Rule Violations
— Power/Ground nets are pre-routed
— HFNS done
— Logical/Physical Library should have special Clock Cells
• CTS Objects
— The timer starts from every Clock Source and traces forward over Combinational Arcs
until it reaches the Clock Pin of a flop or another Clock Source
— All Pins/ Timing Arcs in the forward trace before a valid Leaf are considered to be in
the clock network
— Pin or Combinational Timing Arcs that trace to a non-clock pin are not part of Clock
Tree network (e.g. D pin of FF)
— Sequential elements are traced through if it is a source of the Generated Clock
— Clock tracing after the propagation of Case Analysis
— Clock tracing should be Mode aware
— Inverters are added in Clock Tree for better Duty Cycle
Limit the buffer/inverter list to just 3 or 4 buf/inv sizes
ASIC Physical Design
Clock Tree Synthesis (CTS)
• CTS Flow
— Check and fix Macro locations
— Read CTS SDC: Clock Tree begins at SDC defined clock pin and
ends at stop pin of the flop
— Generate CTS Specification file Example of CTS spec file AutoCTSRootPin
Max. Skew SH1/I23/Z ExcludePin + XPU/CAM/C
MaxDelay 5ns
Max. and Min. Insertion Delay MinDelay 0ns
Max. Transition, Capacitance, Fanout Buffer buf1 buf2 inv1 inv2 del1
MaxSkew 500ps
No. Buffer levels (Tree depth) MaxDepth 20
Buffer/ Inverter list LeafPin + FPU/CORE/A rising END
Clock Tree Routing Metal Layers
Clock Tree Leaf Pin, Root Pin, Preserve
Pin, Through Pin and Exclude Pin
— Compile CTS using CTS Spec. file
— Place Clock Tree Cells
— Route Clock Tree (Optional and can be done during Signal net
routing also)
ASIC Physical Design
Clock Tree Synthesis (CTS)
• CTS Algorithms
— RC Tree Based CTS
— H Tree based Algorithm Clock Source
H-
Tree
Clock
Source
GMA
Pi Configuration
Courtesy: usebackend.wordpress.com
Clock Source
ASIC Physical Design
Clock Tree Synthesis (CTS)
• Before CTS all Clock Pins are driven by a single Clock Source
FF FF FF FF FF FF
F F F F F F
FF FF FF FF FF FF
F F F F F F
FF FF FF FF FF FF
F F F F F F
Cloc
k
FF FF FF FF FF FF
F F F F F F
Courtesy: vlsi-basics.com
ASIC Physical Design
Clock Tree Synthesis (CTS)
•After CTS the buffer tree is built to balance the loads and
minimize the skew
F FF FF F FF FF
F F
F F F F F F
F F F F F F
Clock
sink pins
F F
F F F F F
F F F F F
ASIC Physical Design
Clock Tree Synthesis (CTS)
•After CTS a “delay line” is added to meet the minimum Insertion
Delay (ID)
FF FF FF FF FF FF
Extra buffers
added for F
F F
F
F
F
F F
F
F
balancing
Minimum the F F
Insertion Delay
F F F F F F
F F F F F F
Cloc
k
F F F F F F
F F F F F F
ASIC Physical Design
Clock Tree Synthesis (CTS)
• Analyze the Clock Tree
— Report Timing (both Setup and Hold)
— If timing not met then check clocks be grouped (balanced together)
— Report Insertion Delay & Skew and verify that the targets are achieved
— Report DRV targets (Fanout, Capacitance and Transition)
— Check the intended Leaf Cell (Clock Sinks) is reached
— Check the Clock Tree Exceptions are not in the Clock Tree
— Report the pre-existing cells, such as Clock Gating Cells
— Do Quality-of-Report (QoR)
— Check Clock Tree converges either with itself or with another Clock Tree
— Clock Tree has timing relationship with other Clock Trees for inter Clock
Skew balancing
— Check Design Rule Constraints
— Check Routing Constraints
— Report Power and Area
ASIC Physical Design
Post CTS Optimization
• Post CTS Optimization
— Optimization with Useful Skew
— Optimization with Total Negative Slack (TNS)
— Fine Grid Spacing
— Post CTS Optimization Techniques
Shielding
Sizing
Buffer re-location
Level adjustment
— Optimize the design for Hold Time
Hold Violations should be fixed first in Best Corner and then in Worst Corner
— Area Optimizations
ASIC Physical Design
Routing
• Importance of Routing as Technology shrinks
— Device (Gate) delay decreases
— Interconnect resistance increases
— Vertical heights of interconnect
layers increase, in an attempt to
offset increasing interconnect
resistance
— Area component of interconnect
capacitance no longer dominates
— Lateral (sidewall) and fringing
components of capacitance start to
dominate the total capacitance of
the interconnect
— Interconnect capacitance dominates Multi-level Interconnection (MLI)
total Gate loading Technology Layer stacks
• Routing Objectives
— Skew requirements
— Open/Short circuit clean
— Routed paths must meet setup and hold timing margin
— DRVs max. Capacitance/ Transition must be under the limit
— Metal traces must meet foundry physical DRC requirements
— Layout geometries should meet Current Density specification
ASIC Physical Design
Routing
• Routing Stages
— Trial/Global Routing
Identifying
in a shortestroutable
distancepath for the nets driving/ driven pins
Does not consider DRC rules, which gives an overall view
of routing and congested nets Assign layers to the nets
Identify
the androutable
specific assign net segments
window over
called Global Route Cell
(GRC)
Avoid
over congested areas and also long detours Avoid routing
blockages
Avoid routingTree
Uses Steiner for pre-route
and Mazenets such as Rings/Stripes/Rails
algorithm
— Track Assignment
Takes the Global Routed Layout and assigns each nets to the specific Tracks and
layer geometry
It does not follow the physical DRC rules
It will do the timing aware Track Assignment
It helps in Via Minimization
ASIC Physical Design
Routing
• Routing Stages
— Detail/Nano Routing
Detailed routing follows up with the track
routed net segments and performs the
complete DRC aware and timing driven routing
It is the final routing for the design built after
the CTS and the timing is freeze
Filler Cells are adding before Detailed Routing
Detail Routing is done after analyze the cause
for congestion in the design, add density screen
or change flooplan etc. Grid
Point
Trace
VIA12
Critical
net
Same net is routed in two different metal layers but not connected
Same net with different pin names Two different nets shorting together
ASIC Physical Design
Physical Verification (LVS)
• Extract Errors
— Parameter Mismatch
— Device parameters on schematic and layout are compared
— Example: Let us consider a transistor here, LVS checks are necessary
parameters like width, length, multiplication factor etc.
ASIC Physical Design
Physical Verification (LVS)
• Compare Errors
— Malformed Devices
— Pin Errors
— Device Mismatch
— Net Mismatch
ASIC Physical Design
Physical Verification (ERC)
• Electrical Rule Check (ERC) is used to analyze or confirm the
electrical connectivity of an IC design
• ERC checks are run to identify the following errors in layout
— To locate devices connected directly between Power and Ground
— To locate floating Devices, Substrates and Wells
— To locate devices which are shorted
— To locate devices with missing connections
• Well Tap connection error: The Well Taps should bias the Wells
as specified in the schematics
Courtesy: asicpd.blogspot.in
ASIC Physical Design
Physical Verification (ERC)
• Well Tap Density Error: If there is no enough Taps for a
given area then this error is flagged
• Taps need to be placed regularly which biases the Well to
prevent Latch-up
e.g., In typical 90nm process the Well Tap Density Rule require Well-
taps to be placed every 50 microns
• Tools: Mentor Graphics Calibre, Synopsys Hercules, Cadence
Assura, Magma Quartz
ASIC Physical Design
DFM Checks
• Antenna Check (Gate-Oxide Integrity check)
— Maximum net length restriction connected to Gate terminal
• Redundant Contacts/ Via
— Multiple Via improves both Yield and Timing by resistance paralleling
• Metal Filling
— Narrow Metal Layer separated from other Metal Layers may get high
density of etchant than closely spaced wires
— Over etched filling up empty tracks with metal shapes to meet Metal
Density Rules
• Metal Slotting
— Wide metal lines (Power Nets) expands significantly due to the high
temperature during fabrication leads to destruction of the isolation
and passivation layer that protect the wafer
— To avoid it put slots or holes in these metal layers at regular intervals
— Slotting also prevent the stress damage during wafer dicing and
packaging
ASIC Physical Design
Formal Verification
• Formal Verification
— Verify the two representations of circuit design exhibits same behavior
— Checks the behavior of the Combinational Logics by checking the
Compare Points
— Targets implementation errors and not the design errors
— Power checks: checks Power Switches/ Retention Cells/ Isolation Cells/
Level Shifters and all power connectivity
— If any manual editing in the design then LEC has to be done at any
point of time
• Informal Verification
(Simulation)
• Formal Verification
—
Complete coverage
—
Effectively
simulation exhaustive
—
Cover all possible —
Incomplete coverage
sequences of inputs —
Limited amount of simulation
—
Check all corner cases —
Spot check
of input a limited number
sequences
—
No test vectors are needed —
Many corner cases not checked
— Capacitance
of 2 differentbetween nets
Metal layers
area area
• Area Capacitance
SUBSTRAT
E
— Capacitance between Metal layers and Substrate
• In modern
levels of processes,
metal is so the width
small that of interconnect
the Fringing wires at of
Capacitance lower
the
wire is larger than the Area Capacitance
ASIC Physical Design
Parasitic Extraction
• Resistance
R = ρ L/H W
— Wire Resistivity
— Complex 3D geometry around Vias
• Inductance
— Self Inductance;
— Mutual Inductance,
— At high frequency Skin effect possibility
• Models used for Parasitic Extraction
— Lumped-C, Lumped-RC, Lumped-RLC
— Pi segment
— Pin-to-pin delays are modeled by RC delays
ASIC Physical Design
Parasitic Extraction
• Sub-femto Farad accuracy required for extraction of designs at
advanced technology nodes
• STA tool uses extraction data at fast corner while calculating
hold and slow data while calculating setup to be pessimistic as
possible, so that your chip doesn't fail after it comes back
from the fab
• Common Extraction Formats: Standard Parasitic Format (SPF),
Reduced Standard Parasitic Format (RSPF), Detailed Standard
Parasitic Format (DSPF), Standard Parasitic Extraction Format
(SPEF)
• Tools: Synopsys Star-RCXT, Cadence QRC, Mentor Graphics
Calibre xRC
ASIC Physical Design
Timing Analysis
• Static Timing Analysis: Methodical analysis of a digital circuit to
determine if the timing constraints imposed are met and to
check the design is working properly
• Static Timing Analysis Flow
— Read the inputs required
— Setting
(False/ up Constraints: IO Delay Constraints, DRVs, Timing Exceptions
Width Multi-Cycle paths), Recovery and Removal, Minimum Pulse
— Construct
Clock, CaseTiming Graph: Partition Clock Domain, Ideal/ Propagated
Analysis
—
— Propagation
Timing Report: End points with violations/ Paths enumeration
• Input Requirement
— Routed Netlist (.v)
— Libraries (.lib only)
— Constraints (.sdc)
—
— Delay Format
Parasitic Values(.sdf)
(.spef)
• Tools: Synopsys PrimeTime, Cadence ETS, Cadence Tempus
ASIC Physical Design
Timing Analysis (SI)
• Signal Integrity (SI)
— SI refers to the quality of the signal transportation during the circuit
operation
— In deep sub-micron the delays associated with the logic elements far
outweighed delays associated with the interconnect
— SI effects like Crosstalk (both noise and timing), Voltage (IR) Drop,
Waveform Integrity and Electromigration have complex
interdependencies
— When the technology shrinks, the effect of coupling capacitance also
increases
— Crosstalk is the undesirable phenomenon, caused by the cross
coupling capacitance between metal wires in a chip
— Signal Integrity comes as an added feature of Timing Signoff tools
— Crosstalk effects can be analyzed by enabling the SI switch in tools
— If Crosstalk is enabled then the tool will by default do the timing in
On Chip Variation (OCV) mode
— Tool can read the .spef consists of coupling capacitance info.
ASIC Physical Design
Power Analysis & IR Drop Analysis
• Power Analysis
— Static/ Leakage Power Analysis
— Dynamic Power Analysis
• IR Drop Analysis
— Static IR Drop Analysis
— Dynamic IR Drop Analysis
• Tools for Power and IR Drop Analysis
— Synopsys Prime Power
— Cadence EPS and Voltus
— Apache Redhawk
• Tape-out
— Final GDSII (Graphical Data Stream Information Interchange) or CIF
(Caltech Intermediate Format) to Foundry
— GDS contains Physical Layout information
Thank
You