Download as pdf or txt
Download as pdf or txt
You are on page 1of 48

VLSI Design

Chapter 4

Circuit Characterization and


Performance Estimation

Jin-Fu Li
Chapter 4 Circuit Characterization
and Performance Estimation
• Resistance & Capacitance Estimation
• Switching Characteristics
• Transistor Sizing
• Power Analysis
• Other Issues

National Central University EE613 VLSI Design 2


Resistance Estimation
• Resistance
− R = ( ρ / t )( L / W ), where ( ρ , t , L, W ) is (resistivity,
thickness, conductor length, conductor width)
− Sheet resistance Rs = Ω/
− R = Rs ( L / W )
W W
1 rectangular block t
R = Rs (L / W )
W L
t

L L
4 rectangular block
R = Rs ( 2 L / 2W ) = Rs ( L / W )

National Central University EE613 VLSI Design 3


Resistor – None rectangular (1)

R=L/W L L R=L/W

W W
W1 W1

R=4L/(L+4W 1)
L L R=2L/(L+2W 1)

W2 W2

National Central University EE613 VLSI Design 4


Resistor – None rectangular (2)
W1

W1 W2 W2

L
W2 W1
W W2 W1

Ratio=L/W Ratio=W 1/W 2 Ratio=W 1/W 2

W2
W1 W1
W2
W2
W1 W1

Ratio=W 2/W 1 Ratio=W 2/W 1

National Central University EE613 VLSI Design 5


Capacitor
• Load capacitance on the output of a CMOS
gate is the sum of
− Gate capacitance
− Diffusion capacitance
− Routing capacitance

• Capacitance can be calculated by


ε 0ε x
− C = A
d
− ε x : dielectric constant
− ε 0 : permitivity of free space

National Central University EE613 VLSI Design 6


Gate Capacitor (1)

Accumulation Depletion

Vg<0 gate Vg>0


gate gate gate

Co tox Co tox
Depletion layer
Cdep

P-substrate P-substrate

National Central University EE613 VLSI Design 7


Gate Capacitor (2)

Inversion Capacitance variation

Vg>0
gate gate
Accumulation Depletion Inversion

1.0
Co tox Low freq.
Channel
Cdep Depletion layer C/Co

P-substrate High freq.

0 Vt
Vgs

National Central University EE613 VLSI Design 8


Gate Capacitor (3)

gate

Cgs Cgb Cgd

source drain

Csb depletion layer Cdb

substrate

Cg=C gb+C gs+Cgd

National Central University EE613 VLSI Design 9


Gate Capacitor (4)

National Central University EE613 VLSI Design 10


Diffusion Capacitor

Substrate
b
Source Drain
a Diffusion Diffusion
Area Area b
a

Cjp

Xc

Cja
C d = C ja × (ab) + C jp × (2a + 2b)
Cja=junction capacitance per micron square
Cjp=periphery capacitance per micron

National Central University EE613 VLSI Design 11


Wire Capacitor (1)
Fringing fields
W L

T
H

substrate Insulator (Oxide)

Layer 3
Multi-layer C22 C23
conductor Layer 2
C21
Layer 1

C2=C21+C23+C22

National Central University EE613 VLSI Design 12


Wire Capacitor (2)

A B C D E F G

m2
m2
m2
m2 m2
C
C m1 m2
m1
C C m1
poly C poly
C C C
Thin-oxide/diffusion

Substrate

National Central University EE613 VLSI Design 13


Inductor
• For bond wire inductance
µ 4h
− L= ln( )
2π d
• For on-chip metal wires
µ 8h w
L= ln( + )
2π w 4h

• The inductance produces Ldi/dt noise especially


for ground bouncing noise. Note that when
CMOS circuit are clocked, the current flow
changes greatly.
di
V = L
dt

National Central University EE613 VLSI Design 14


Wire RC Effects (1)
Ij-1 Ij

R R Vj-1 R Vj R V R
j+1

C C C C C

dV j (V j −1 − V j ) (V j − V j +1 )
CdV = Idt ⇒ C = ( I j −1 − I j ) = −
dt R R
dV d 2V
rc = 2 ⇒ t x = kx 2
dt dx
r : resistance per unit length
c : capacitance per unit length

National Central University EE613 VLSI Design 15


Wire RC Effects (2)
1mm 1mm
buffer
input output
tbuf

−15 2
Assume that t x = 4 ×10 x

With buffer
t p = 4 × 10−15 × 10002 + tbuf + 4 × 10−15 × 10002
= 4ns + tbuf + 4ns = 8ns + tbuf

Without buffer
t p = 4 × 10−15 × 20002 = 16ns

National Central University EE613 VLSI Design 16


Delay Analysis (1)

Vin(t) Vout (t)


Vds=Vgs-Vt
CL

VDD Ids
Vin(t)

t
VDD tpf tdr
90%
Vout (t) Vout (t) VDD
50%
10%
t
tf tr

National Central University EE613 VLSI Design 17


Delay Analysis (2)

P-device P-device
Vout (t) Vout (t)
N-device Idsn CL Rcn CL
N-device

Saturated Vout>=VDD-Vtn Nonsaturated 0<Vout<=VDD-Vtn

P-device Idsp P-device Rcp

Vout (t) Vout (t)


N-device CL N-device CL

Saturated Vout<=|Vtp| Nonsaturated |Vtp|<Vout<VDD

National Central University EE613 VLSI Design 18


Delay Analysis (3)
• The fall time consists of two intervals:
− tf1=period during which the capacitor voltage, Vout,
drops from 0.9VDD to (VDD-Vtn)
− tf2=period during which the capacitor voltage, Vout,
drops from (VDD-Vtn) to 0.1VDD
dVout β n
CL + (VDD − Vtn ) 2 = 0 (In saturation)
dt 2
CL CL
tf ≈ k × tr ≈ k ×
β nVDD β pVDD
CL 1 1
tp ≈ k × ( + )
VDD β n β p
National Central University EE613 VLSI Design 19
Design Challenges
• Reduce CL
− Careful layout can help to reduce the diffusion
and interconnect capacitance
• Increase β n and β p
− Increase the transistor sizes also increases the
diffusion capacitance as well as the gate
capacitance. The latter will increase the fan-out
factor of the driving gate and adversely affect its
speed.
• Increase VDD
− The designer does not have too much control
over this factor, as the supply voltage is
determined by system and technology
considerations.
National Central University EE613 VLSI Design 20
Gate Delays
1
P3 P2 P1 β neff =
out (1 / β n1 ) + (1 / β n 2 ) + (1 / β n3 )
IN-3 N3
βn
IN-2 N2
β n1 = β n 2 = β n3 ⇒ β neff =
3
IN-1 N1

L 3L

National Central University EE613 VLSI Design 21


Delay Analysis – Switch Level RC Model

P4 P3 P2 P1 Rp
out
A N4 Cout
Cab
B N3
Cbc Cout
C N2 Rn
Ccd
D N1

National Central University EE613 VLSI Design 22


Switch Level RC Model

• Simple RC model
t df = ∑ R pulldown × ∑ C pulldown− path
= ( RN 1 + RN 2 + RN 3 + RN 4 ) × (Cout + Cab + Cbc + Ccd )
t dr = R p 4 × Cout
• Elmore delay model
t d = ∑ Ri Ci
i

tdf = ( RN 1 × Ccd ) + [( RN 1 + RN 2 ) × Cbc ] + [( RN 1 + R N 2 + RN 3 ) × C ab ]


+ [( RN1 + RN 2 + RN 3 + RN 4 ) × Cout ]

National Central University EE613 VLSI Design 23


Transistor Sizing
tinv-pair

4/1 Icharge
R R
2/1 3Ceq 3Ceq
Idischarge

W p=2W n

R
tinv − pair = t fall + trise = R3Ceq + 2 3Ceq
2
= 3RCeq + 3RCeq
= 6 RCeq

Ceq is the capacitance of a unit (2/1) NMOS transistor


R is the equivalent channel resistance of a unit NMOS
National Central University EE613 VLSI Design 24
Transistor Sizing

tinv-pair

2/1 Icharge
2R R
2/1 2Ceq 2Ceq
Idischarge

W p=W n

tinv − pair = t fall + t rise = R2C eq + 2 R2C eq


= 6 RCeq

National Central University EE613 VLSI Design 25


Transistor Sizing

2/3 Icharge
3Rp
R
2/1 Ceq Idischarge Ceq

tinv − pair = trise + t fall = 6 R(C g + 2C d ) + R(C g + Cd )


= 7 RC eq

Ceq = Cg + 2Cd

National Central University EE613 VLSI Design 26


Transistor Sizing

1 a a2 a3

CL
n(4) stages
10
9
8
7
6
a/ln(a)e 5
4
3
2
1
2 4 10 100
Stage ratio -- a

National Central University EE613 VLSI Design 27


Power Dissipation

Instantaneous power:
p(t) = v(t)i(t) = Vsupplyi(t)

Peak power:
Ppeak = Vsupplyipeak

Average power:

1 t +T Vsupply t +T
Pave = ∫ p (t )dt = ∫ isupply (t )dt
T t T t

National Central University EE613 VLSI Design 28


Power Analysis
• Power consumption of a CMOS circuit
− Static power caused by the leakage current and
other static current
− Dynamic power caused by the total output
capacitance
− Dynamic power caused by the short-circuit
current
• Total power consumption of a CMOS circuit is
given by
− Pt = Ps + Pd + Psc

National Central University EE613 VLSI Design 29


Power Analysis – Static Power
Vin
Gnd VDD
Vout

p+ n+ n+ p+ p+ n+

n-well

p-substrate

PN junction reverse bias leakage current


i0 = is ( e qV / KT − 1)
n
Ps = ∑ I leakage × Vsup ply
1

National Central University EE613 VLSI Design 30


Power Analysis – Dynamic Power
• Let the inverter is operated at a switching
frequency f=1/T
1 T
VDD
Pd = ∫ io (t )vo (t )dt
T 0
dvo
ip i p = io = C L
dt
Vin
io V out dvo
in = −io = −C L
CL
dt
in
1 VDD
Pd = [∫ C L vo dvo − ∫ C L vo dvo ]
0

T 0 VDD

2
C LVDD
Pd = = fC LVDD
2

T
National Central University EE613 VLSI Design 31
Energy vs. Power
• Energy consumption of an inverter (from 0 → V DD )
− The energy drawn from the power supply is
∗ E = QV = C LV DD2
− The energy stored in the load capacitance is
1
∗ E cap = ∫0 C vo dv o = C LV DD
V DD 2

2
− The output from VDD → 0
∗ The Ecap is consumed by the pull-down NMOS
• Low-energy design is more important than low-
power design

National Central University EE613 VLSI Design 32


Power Analysis – Short-Circuit Power
T
VDD

VDD-|Vtp| tr tf

Vin isc Vout Vtn


CL

Imax
Imean
t1 t2 t3

Psc = I mean V DD
1 t2
= 2 × [ ∫ i ( t ) dt + ∫
t3
I mean i ( t ) dt ]
T t1 t2

4 t2
I mean = [ ∫ i ( t ) dt ]
T t1
National Central University EE613 VLSI Design 33
Power Analysis – Short-Circuit Power

4 t2 β
I mean = [ ∫ (V in ( t ) − V T ) 2 dt ]
T t1 2
V DD
V in ( t ) = t
tr
VT
t1 = tr
V DD
tr
t2 =
2
β
Psc = (V DD − 2V T ) 3 τ f , where τ = tr = t f
12

National Central University EE613 VLSI Design 34


Power Analysis – Switching Activity
• The dynamic power for a complex gate cannot be
estimated by the simple expression C LVDDf
• Dynamic power dissipation in a complex gate
− Internal cell power VDD
− Capacitive load power
B C
• Capacitive load power C1
− PL = α C L V
2 A
DD f out

• Internal celln power A C

− P =
int ∑
i =1
α i C iV iV DD f B C2

National Central University EE613 VLSI Design 35


Power Analysis – Glitching power
• In a static logic gate, the output or internal nodes
can switch before the correct logic value is being
stable. This phenomenon results in spurious
transitions called glitches.

ABC 100 111


A D
B D
Z
C
Z

Unit delay Spurious transition

National Central University EE613 VLSI Design 36


Rules for avoiding Glitching power
• Balance delay paths; particularly on highly loaded
nodes

• Insert, if possible, buffers to equalize the fast path


• Avoid if possible the cascaded implementation
• Redesign the logic when the power due to the
glitches is an important component

National Central University EE613 VLSI Design 37


Principles for Power Reduction

• Prime choice: reduce voltage


− Recent years have seen an acceleration in supply
voltage reduction
− Design at very low voltage still open question
(0.6V… 0.9V by 2010)
• Reduce switching activity
• Reduce physical capacitance

National Central University EE613 VLSI Design 38


Low -Power Design – Layout Guidelines

• Identify, in your circuit, the high switching nodes


• Use for these high activity nodes low-capacitance
layers such as metal2, metal3, etc.
• Keep the wires of high activity nodes short
• Use low-capacitance layers for high capacitive
nodes and busses

National Central University EE613 VLSI Design 39


Low -Power Design Guidelines
• Avoid, if possible, the use of dynamic logic design
style
• For any logic design, reduce the switching activity,
by logic reordering and balanced delays through
gate tree to avoid glitching problem
• In non-critical paths, use minimum size devices
whenever it is possible without degrading the
overall performance requirements
• If pass-transistor logic style is used, careful design
should be considered

National Central University EE613 VLSI Design 40


Charge Sharing
• Charge Q=CV
• A bus can be modeled as a capacitor Cb
− If the voltage on the bus is sampled to determine
the state of a given signal
Bus

Vb Cb
Vs Cs
( Qb = CbVb ) ( Qs = CsVs )

QT = CbVb + C sVs QT
VR = = (CbVb + CsVs ) /(Cb + C s )
CT
CT = Cb + Cs

National Central University EE613 VLSI Design 41


Contact Replication
• Current tends to concentrate around the perimeter
in a contact hole
− This effect, called current crowding, puts a practical
upper limit on the size of the contact
− When a contact or a via between different layers is
necessary, make sure to maximize the contact
perimeter (not area)

National Central University EE613 VLSI Design 42


Ground Bounce
Voltage
Vin
L
Vout
VDD Pad
Time
Current

Time Vin Vout


I
I
VSS Pad
VL
L VL =L(di/dt)
Time

Ground bounce

National Central University EE613 VLSI Design 43


Approaches for Coping with L(di/dt)
• Multiple power and ground pins
− Restrict the number of I/O drivers connected to a
single supply pins (reduce the di/dt per supply pin)
• Careful selection of the position of the power and
ground pins on the package
− Avoid locating the power and ground pins at the
corners of the package (reduce the L)
• Increase the rise and fall times
− Reduce the di/dt
• Adding decoupling capacitances on the board
− Separate the bonding-wire inductance from the
inductance of the board interconnect

National Central University EE613 VLSI Design 44


Package Issues

• Packaging requirements
− Electrical: low parasitics
− Mechanical: reliable and robust
− Thermal: efficient heat removal
− Economical: cheap

National Central University EE613 VLSI Design 45


Bounding Techniques

Wire Bonding

Substrate

Die

Pad

Lead Frame

National Central University EE613 VLSI Design 46


Die Cost

Single die

Wafer

Going up to 12” (30cm)

National Central University EE613 VLSI Design 47


Yield Estimation
No. of good chips per wafer
Y= × 100%
Total number of chips per wafer
Wafer cost
Die cost =
Dies per wafer × Die yield
π × (wafer diameter/2 )2 π × wafer diameter
Dies per wafer = −
die area 2 × die area

National Central University EE613 VLSI Design 48

You might also like