Sunteți pe pagina 1din 16

Lecture 5:

Delay
1.
2.
3.
4.

Delay definition
Transient response
RC delay models
Linear delay models

1. Delay Definitions
 tpdr: rising propagation delay
From input to rising output
crossing VDD/2
 tpdf: falling propagation delay
From input to falling output
crossing VDD/2
 tpd: average propagation delay
tpd = (tpdr + tpdf)/2
 tr: rise time
From output crossing 0.2
VDD to 0.8 VDD
 tf: fall time
From output crossing 0.8
VDD to 0.2 VDD
5: DC and Transient Response

CMOS VLSI Design

4th Ed.

1. Delay Definitions
 tcdr: rising contamination delay
From input to rising output crossing VDD/2
 tcdf: falling contamination delay
From input to falling output crossing VDD/2
 tcd: average contamination delay
tpd = (tcdr + tcdf)/2

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

Arrival time
 Arrival time is the latest time at which each node in a block of logic
will switch
 The slack is the difference between the required and arrival times.
 Positive slack means that the circuit meets timing.
 Negative slack means that the circuit is not fast enough.

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

2. Transient Response
 DC analysis tells us Vout if Vin is constant
 Transient analysis tells us Vout(t) if Vin(t) changes
Requires solving differential equations
 Input is usually considered to be a step or ramp
From 0 to VDD or vice versa

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

DC Response
 DC Response: Vout vs. Vin for a gate
 Ex: Inverter
When Vin = 0
->
Vout = VDD
When Vin = VDD
->
Vout = 0
VDD
In between, Vout depends on
Idsp
transistor size and current
Vin
Vout
By KCL, must settle such that
Idsn
Idsn = |Idsp|
We could solve equations
But graphical solution gives more insight
5: DC and Transient Response

CMOS VLSI Design

4th Ed.

Transistor Operation
 Current depends on region of transistor behavior
 For what Vin and Vout are nMOS and pMOS in
Cutoff?
Linear?
Saturation?

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

Inverter Step Response


 Ex: find step response of inverter driving load cap

Vin (t ) = u(t t0 )VDD


Vin(t)

Vout (t < t0 ) = VDD

Vout(t)
Cload

dVout (t )
I (t )
= dsn
dt
Cload

Idsn(t)

0
t t0

I dsn (t ) =
Vout > VDD Vt
2 (VDD V )

V (t )
VDD Vt out 2 Vout (t ) Vout < VDD Vt


5: DC and Transient Response

CMOS VLSI Design

4th Ed.

Vin(t)

Vout(t)
t0

Simulated Inverter Delay


 Solving differential equations by hand is too hard
 SPICE simulator solves the equations numerically
Uses more accurate I-V models too!
 But simulations take time to write, may hide insight
2.0

1.5

1.0
(V)

Vin

tpdf = 66ps

tpdr = 83ps

Vout

0.5

0.0

0.0

200p

400p

600p

800p

1n

t(s)

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

Delay Estimation
 We would like to be able to easily estimate delay
Not as accurate as simulation
But easier to ask What if?
 The step response usually looks like a 1st order RC
response with a decaying exponential.
 Use RC delay models to estimate delay
C = total capacitance on output node
Use effective resistance R
So that tpd = RC
 Characterize transistors by finding their effective R
Depends on average current as gate switches
5: DC and Transient Response

CMOS VLSI Design

4th Ed.

10

Effective Resistance
 Shockley models have limited value
Not accurate enough for modern transistors
Too complicated for much hand analysis
 Simplification: treat transistor as resistor
Replace Ids(Vds, Vgs) with effective resistance R
Ids = Vds/R
R averaged across switching of digital gate
 Too inaccurate to predict current at any given time
But good enough to predict RC delay

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

11

3. RC Delay Model
 Use equivalent circuits for MOS transistors
Ideal switch + capacitance and ON resistance
Unit nMOS has resistance R, capacitance C
Unit pMOS has resistance 2R, capacitance C
 Capacitance proportional to width
 Resistance inversely proportional to width
d

d
k
s

s
kC

R/k

kC
2R/k

g
kC

kC

d
k
s

s
5: DC and Transient Response

kC
g

kC
d

CMOS VLSI Design

4th Ed.

12

RC Values
 Capacitance
C = Cg = Cs = Cd = 2 fF/m of gate width in 0.6 m
Gradually decline to 1 fF/m in nanometer techs.
 Resistance
R 6 K*m in 0.6 m process
Improves with shorter channel lengths
 Unit transistors
May refer to minimum contacted device (4/2 )
Or maybe 1 m wide device
Doesnt matter as long as you are consistent
5: DC and Transient Response

CMOS VLSI Design

4th Ed.

13

Inverter Delay Estimate


 Estimate the delay of a fanout-of-1 inverter
2C
R

2 Y

2C

2C

2C
2C

Y
R
C
R

C
C

d = 6RC
5: DC and Transient Response

CMOS VLSI Design

4th Ed.

14

Delay Model Comparison

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

15

Example: 3-input NAND


 Sketch a 3-input NAND with transistor widths chosen to
achieve effective rise and fall resistances equal to a unit
inverter (R).

2
3
3
3

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

16

3-input NAND Caps


 Annotate the 3-input NAND gate with gate and diffusion
capacitance.
2C
2

2C

2C
2

2C

2C

2C
2

2C

2C
3

3C

3C

3C

5: DC and Transient Response

2C

3C
3C
3C
3C

CMOS VLSI Design

4th Ed.

17

Elmore Delay
 ON transistors look like resistors
 Pullup or pulldown network modeled as RC ladder
 Elmore delay of RC ladder

t pd

Ri to sourceCi

nodes i

= R1C1 + ( R1 + R2 ) C2 + ... + ( R1 + R2 + ... + RN ) C N


R1

R2

R3

C1

C2

5: DC and Transient Response

RN
C3

CMOS VLSI Design

4th Ed.

CN

18

Example: 3-input NAND


 Estimate worst-case rising and falling delay of 3-input NAND
driving h identical gates.
2

2
3
3 n1
3

t pdr = ( 9 + 5h ) RC

5: DC and Transient Response

Y
9C
5hC
n2
3C
3C

t pdf = ( 3C ) ( R3 ) + ( 3C ) ( R3 + R3 ) + ( 9 + 5h ) C ( R3 + R3 + R3 )
= (11 + 5h ) RC

CMOS VLSI Design

4th Ed.

19

Delay Components
 Delay has two parts
Parasitic delay
9 or 11 RC
Independent of load
Effort delay
5h RC
Proportional to load capacitance

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

20

10

Contamination Delay
 Best-case (contamination) delay can be substantially less than
propagation delay.
 Ex: If all three inputs fall simultaneously
2

2
3
3 n1
3

Y
9C
5hC
n2
3C
3C

5
R
tcdr = ( 9 + 5h ) C = 3 + h RC
3
3

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

21

Diffusion Capacitance
 We assumed contacted diffusion on every s / d.
 Good layout minimizes diffusion area
 Ex: NAND3 layout shares one diffusion contact
Reduces output capacitance by 2C
Merged uncontacted diffusion might help too
2C

2C

Shared
Contacted
Diffusion

Isolated
Contacted
Diffusion

Merged
Uncontacted
Diffusion

2
3
3

3C 3C 3C

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

7C
3C
3C

22

11

Isolated/Shared/Merged Diffusion
 Shared contacted diffusion can reduce the diffusion capacitance
 Un-contacted diffusion nodes can reduce more capacitance

Isolated

Merged

Shared

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

23

Layout Comparison
 Which layout is better?
VDD

VDD

GND
5: DC and Transient Response

GND
CMOS VLSI Design

4th Ed.

24

12

4. Linear delay models


 The normalized delay of a gate: d = f + p
p is the parasitic delay
f is the effort delay: f = gh
g is logical effort
h is electrical effort (fanout): h = Cout/Cin

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

25

Logical Effort
 Logical Effort is defined as the ratio of the input
capacitance of the gate to the input capacitance of
an inverter that can deliver the same output current.
Logical effort of common gates
Gate type

Number of Inputs
1

Inverter

4/3

5/3

6/3

(n+2)/3

5/3

7/3

9/3

(2n+1)/3

NAND
NOR
Tristate,
multiplexer

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

26

13

Parasitic Delay
 The parasitic delay of a gate is the delay of the gate
when it drives zero load
Parasitic delay of common gates
Gate type

Number of Inputs
1

Inverter

NAND

NOR

2n

Tristate,
multiplexer

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

27

Parasitic Delay
 Parasitic Delay for n-input NAND gate

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

28

14

Example
 Use the linear delay model to estimate the delay of
the fanout-of-4 (FO4) inverter. Assume the inverter
is constructed in a 65 nm process with = 3 ps.

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

29

Summary of logical Effort

5: DC and Transient Response

CMOS VLSI Design

4th Ed.

30

15

Review
1. What are tpdr, tpdf, tf, tr, tcdr, tcdf?
2. Calculate arrive time of the following circuit:

20
10
30

40

30
40

3. Explain the delay estimation of a fanout-of-1 inverter (slide 14)


4. Explain the tpdr and tpdf delay estimation of 3-input NAND
driving h identical gates (slide 19).
5. Estimate delay for the gates: AOI21, OAI31
6. What is logical effort?
7. What is parasitic delay?
8. Estimate the delay of the following gate:
5: DC and Transient Response

CMOS VLSI Design

4th Ed.

31

16

S-ar putea să vă placă și