Download R/C Reduction

Document related concepts
no text concepts found
Transcript
Full-Custom Design
….TYWu
Outline








Introduction
Transistor
Process Steps
Layout
Schematic
R/C
Design Rules
Tools
R/C

Typical Resistance Values for 0.5 Micron
Process
 Poly:
4
ohms/square
 ndiff:
2
ohms/square
 pdiff:
2
ohms/square
 metal 1:
0.08 ohms/square
 metal 2:
0.07 ohms/square
 metal 3:
0.03 ohms/square
R/C


How to Calculate Wire Resistance
Resistance of any size square is constant
R/C

Wire resistance
Exercise
Answer
Rsq
L
W
R
R
=
=
=
=
4
5
2.5
?
=
=
=
Rsq * L / W
4 * 5 / 2.5
8
R/C

An Example of Resistance Information in a
Virtuoso Technology File
:
electricalRules(
characterizationRules(
( sheetRes
"METAL1"
( sheetRes
"METAL2"
( sheetRes
"METAL3"
( sheetRes
"METAL4"
( sheetRes
"METAL5"
) ;characterizationRules
) ;electricalRules
:
0.076
0.076
0.076
0.076
0.044
)
)
)
)
)
R/C

Basic Transistor Parasitic
 Gate
to source/drain
 Basic structure of gate is parallel-plate capacitor
 Gate capacitance Cg. Determined by active area
Cgs
Cgd
poly
n+
n+
Cgb
P-Substrate
R/C

Basic Transistor Parasitic
 Source/drain
overlap capacitances Cgs, Cgd.
Determined by source/gate and drain/gate overlaps.
Independent of transistor L.
Cgs = Col W
Cgs
Cgd
poly
n+
n+
Cgb
P-Substrate
R/C

Capacitances Formed by P-N Junctions
sidewall
capacitances
n+
Substrate
bottom-wall
capacitance
depletion region
R/C

Capacitances Formed by P-N Junctions
 Typical
0.5 micron diffusion capacitance values
 n-type:
bottomwall: 0.6 fF/um2
 sidewall: 0.2 fF/um


P-type
bottomwall: 0.9 fF/um2
 sidewall: 0.3 fF/um

sidewall
capacitances
n+
bottom-wall
capacitance
W
An Example for N-type:
(2*L1+2*W)*0.6+W*L1*0.2
L1
L2
R/C

Can Couple to Adjacent Wires on Same Layer,
Wires on Above/Below Layers
metal 2
metal 1
Poly
metal 1
R/C

Precise Parasitic Capacitance Includes 3D
Field Effect
Metal3
Metal2
Metal1
R/C

Formula of Capacitance
 Capacitance
= K * f1(A) / f2(D)
Area
Distance
R/C

An Example of Capacitance Information in a
xCalibre Technology File
:
CAPACITANCE CROSSOVER PLATE metal4 metal5 MASK
[
PROPERTY C
C = 0.0363014 * area()
]
:
CAPACITANCE NEARBODY metal3 WITH SHIELD metal3 MASK
[
PROPERTY C
max_width = 3
max_distance = 3
C = length() * (exp(-4.27576 - 0.227378 * (distance())) + 0.024792 /
pow(distance() , 0.846884)) * 1.60305 * pow((width1() + width2()) / 2 , 0.161101)
]
:
R/C

LPE (Layout Parasitic Extraction)
1D  2D  3D
Rough/Fast ….Accurate/Slow
R/C

LPE (Layout Parasitic Extraction)
 Extraction
of Resistive/Capacitive Networks
 Create new nodes with resistance extraction
In1_t1
In1
In1_t2
R/C

Lumped to Ground Coupled Capacitance
Coupling
Capacitance
Lumped
to Ground
R/C

Lumped to Ground Coupled Capacitance
 Delay
and Peak Noises
Coupling
Capacitance
Lumped
to Ground
R/C

Crosstalk Is a 1st - Order Problem
for 0.18 Micron and Below
R/C

R/C Reduction
R/C

πModel of Wire
R/C

Elmore Delay: Nonlinear Delay Model for
Delay Calculator
R/C

Exercise
δ=?
1Ω
1pF
1Ω
1pF
δ
= [1Ω *(1pf+1pf)]+
[1Ω *1pf]
=3
R/C

Extracted Capacitances in Schematic
原本的
Schematic
Vdd
Spice
Spice
:
CC1 O VSS! 3.22380E-1+6F
CC2 O VDD! 3.15840E-16F
CC3 I VSS! 6.05184E-16F
CC4 I VDD! 5.24466E-16F
*
*----- TOTAL # OF CAPS FOUND :
*----COMMENTED :
0
*
.ENDS
I
LPE 後
Schematic
4
Vdd
o
Vss
VddVdd
I
o
Vss
Vss
Vss
R/C

Example for Pre/Post-layout Simulation
Pre-sim
Post-sim
R/C

RC Extractor
 Cadence
Assura
R/C

RC Extractor
 Synopsys
Star-RCXT
R/C

SPEF
:
*CAP
1 data_in[3]:0 0.500668
2 data_in[3]:1 0.500668
3 data_in[3]:2 0.0604604
4 data_in[3]:3 0.0604604
5 data_in[3]:4 0.0940104
*RES
1 data_in[3]:0 data_in[3]:1 4.01365
2 data_in[3]:2 data_in[3]:3 0.303
3 data_in[3]:4 data_in[3]:5 0.5555
4 data_in[3]:6 data_in[3]:7 2.60075
5 data_in[3]:8 data_in[3]:5 6.4
:
R/C

DSPF
NETLIST_PRINT_CC_TWICE: NO
*|NET NETA 0.0010000PF
*|I (NETA:F1 I0 A I 0 485.5 11)
*|I (NETA:F2 I1 Z O 0 483.5 11)
R1 NETA:F1 NETA:F2 12.43
C1 NETA:F1 0 6e-15
C2 NETA:F2 0 3.5e-15
C3 NETA:F1 NETB:F1 5e-16
*|NET NETB 0.007000PF
*|P (NETB B 0 32.5 8.3)
*|I (NETB:F1 I32 B I 0 554.3 12)
RNETB NETB:F1 1032
C4 NETB 0 5e-15
C5 NETB:F1 0 1.5e-15
:
R/C

RC Extractor
 Star-RCXT
R/C

RC Extractor
 Mentor
xCalibre
Outline








Introduction
Transistor
Process Steps
Layout
Schematic
R/C
Design Rules
Tools
Design Rules

Definition of
Layout Layers
Design Rules

Widths
0.6um
metal 3
0.3um
metal 2
0.3um
metal 1
0.3um
pdiff/ndiff
0.2um
poly
Design Rules

Rules for Vias and Contacts
 Types of contacts and vias: metal1/diff,
metal1/poly, metal1/metal2
0.1
0.3
0.2
Design Rules

Spacings Rules
 Diffusion/diffusion:0.3
 Poly/poly:
0.2
 Poly/diffusion:
0.1
 Via/via:
0.2
 Metal1/metal1:
0.3
 Metal2/metal2:
0.4
 Metal3/metal3:
0.4
0.2
Design Rules

Transistors
0.2
0.3
0.2
0.3
0.1
0.5
Design Rules

An Example (TSMC 0.18um Process)
 Minimum and maximum width of a contact
0.220 um (A)
 Minimum space between two contacts
0.250 um (B)
A
A
B
Design Rules

An Example (TSMC 0.18um Process)
 Minimum
clearance between OD region
and 1.5V transistor gate poly = 0.400 um (D)
 Minimum extension of OD region beyond
2.5V transistor gate poly = 0.400 um (E)
Design Rules

Metal Pitch Consists of Two Parts
 The width of the metal line and
 The minimum amount of space needed to
separate one line from another.
Design Rules

Pitch and Spacing
Design Rules

A fully-contacted metal
pitch (via-on-via) aligns
all the vias on a grid so
that metal pitch is the
width of, and spacing
between, any two vias.
Line-on-via spacing
permits tighter spacing
by staggering the via.
Thus, metal pitch is the
width of the
via/2+metal/2 plus the
spacing between via
and adjacent line.
Design Rules

Exercise
0.1
Via-on-via pitch
= 0.3+0.1+0.1+0.2
=0.7
0.1
0.3
0.3
0.2
Via-on-via pitch = ?
Line-on-via pitch = ?
0.2 0.2
Line-on-via pitch
=(0.3+0.1+0.1)/2+0.2/2+0.2
=0.25+0.1+0.2
=0.55
Design Rules

Dummy Metal (TSMC 0.18um Process)
 Metal
Density is calculated as
total metal layout area / chip area
 Metal Density > 30 %
Design Rules

Metal Slot (TSMC 0.18um Process)
 The
metal slot must be placed for releasing stress
of wide metal line. The wide metal is defined as
being > 35 um wide. Only bonding pad areas are
excepted.
Design Rules

Antenna Effect
 Unconnected
wires act as “antennas” that pick up
electrical charge.
 The longer the wires, the more the charge.
Design Rules

Antenna Effect
 Wires
are always shorted in the highest metal layer.
 0.18 (0.13) um technology: the maximum length of
an “antenna” wire is 500 um (20 um).
Design Rules

Antenna Effect
 Depends
on the gate size
 Aggressive down sizing makes the problem worse!
 Depends on length of the part of the wire that is “unshorted” (that is, not connected to a diffusion drain
area)
Design Rules

Fixing Antenna Effect Using Diodes
 Insert

a diode cell next to each input.
Costs significant area
Design Rules

Fixing Antenna Effect through Jumpers
 The
idea: Force a routing pattern that “shoots up” to
the highest layer as soon as possible.
Design Rules

Fixing Antenna Effect through Jumpers
Design Rules

An Example of Design Rules in a Laker
Technology File
width [[opt]] { { inLayerA [inLayerB] Relation1 Num1 [Num2] [angle angOpt] \
[lenA Relation2 Num3 [Num4]] [lenB Relation3 Num5 [Num6]] } [outLayer]
[{ edgeaOut outLayerA }] [{ edgebOut outLayerB }] [ { output { outCell l-num
d-num } } ] [genCell { LayoutCellName { LayerName PurposeName } } ] }
width { { NP lt 1.6 } NP123 { output { NP123 23 0 } } }
; width of NP should >= 1.6um
Design Rules

An Example of Design Rules in a Calibre
Technology File
METAL_WIDTH {
// Metal width check. Metal width must be greater than or
// equal to 3 microns except where metal length exceeds 5
// microns; in that case, metal width must be greater than or
// equal to 4 microns.
long_metal = metal LENGTH > 5 // Layer definition;
// not output to results db
INTERNAL long_metal < 4 // Output to results db
short_metal = metal NOT LENGTH > 5 //Layer definition
INTERNAL short_metal < 3 //Output to results db
}
Design Rules

Electrical Rule Check (ERC)
 Check
for Connection Characteristic of Devices
 Check for Connection Characteristic of Layers
 Check for Open/Short of Interconnect Wires
 Check for Charge/Discharge Path of Node
Design Rules

Examples
 Check
for Open Circuit Fault
 Check for Short Circuit Fault
vdd
vdd
vdd
vss
Design Rules

LVS (Layout vs. Schematic)
Vdd
vin
?
vout
Vss
Spice (CDL)
GDSII
Design Rules

Tools
 Mentor Calibre
 Synopsys Hercules
 Cadence Dracula (≥ 0.35um)
Design Rules

Calibre
Design Rules

Calibre
 Layer definition for layer operation
n_diff = diffusion NOT p_dope //n+ diffusion
p_diff = diffusion AND p_dope //p+ diffusion
n_tap = n_diff NOT OUTSIDE n_well //n-tap areas
not_n_tap = n_diff OUTSIDE n_well //areas which are not n-taps
p_tap = p_diff OUTSIDE n_well //p-tap areas
not_p_tap = p_diff NOT OUTSIDE n_well //areas not p-taps
n_gate = poly AND not_n_tap //n-channel gates
p_gate = poly AND not_p_tap //p-channel gates
nsd = not_n_tap NOT n_gate //n-source/drain regions
psd = not_p_tap NOT p_gate // p-source/drain regions
Design Rules

Calibre
 All
Calibre rule files are written in the Standard
Verification Rule Format (SVRF) language
 There is generally no need to have separate rule
files for DRC, LVS, and PEX.
 All verification rules can coexist in a single rule file.
Design Rules

Calibre
 LVS
Design Rules

Calibre
 An example for a rule file
GROUP mask_check // all the DRC checks for mask-level data
poly_width poly_spacing dr2w dr2s dr3 dr5
dr6w dr7 dr11pp dr11np dr12 dr13 dr14 dr17np
dr17pp minimum_contact dr20 dr21 dr23 dr26
dr28 dr29 dr30 dr31
poly_width {
@Poly width must be 1.25
INTERNAL poly < 1.25
}
poly_spacing {
@Poly spacing must be 2
EXTERNAL poly < 2
}