penn ese370 fall2014 -- dehon 1 ese370: circuit-level modeling, design, and optimization for digital...

39
Penn ESE370 Fall2014 -- DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 8: September 15, 2014 Delay and RC Response

Upload: margaret-heather-french

Post on 13-Dec-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Penn ESE370 Fall2014 -- DeHon1

ESE370:Circuit-Level

Modeling, Design, and Optimization for Digital Systems

Day 8: September 15, 2014

Delay and RC Response

Delay is RC Charging

Penn ESE370 Fall2014 -- DeHon2

Delay is RC Charging

Strategy• Understand switch

state (zeroth order)• Break into stages• For each stage

– Understand Rdrive

– Understand Cload

Penn ESE370 Fall2014 -- DeHon3

Today

• RC Charging

• RC Step Response

• What is the C?

• What is the R?

• Measuring Delay

Penn ESE370 Fall2014 -- DeHon4

90% Rise Time?

Penn ESE370 Fall2014 -- DeHon5

What does response look like?

Penn ESE370 Fall2014 -- DeHon6

about 2ps for 90% rise

• KCL @ Vmeasure?

• Current across Resistor?

• Current into Capacitor?

Penn ESE370 Fall2014 -- DeHon7

Governing Equations? (KCL)

Equations

Penn ESE370 Fall2014 -- DeHon8

Vin −Vmeasure

R=CdVmeasure dt

dVmeasuredt =

Vin −Vmeasure

RC

Solve Vmeasure

Penn ESE370 Fall2014 -- DeHon9

dVmeasuredt =

Vin −Vmeasure

RC

What’s Vmeasure?

Vmeasure =Vin 1 − e−t

RC ⎛

⎝ ⎜

⎠ ⎟

⎝ ⎜

⎠ ⎟

What does look like?

Penn ESE370 Fall2014 -- DeHon10

V (t) = 1− e−t /(RC )( )V

Shape of Curve

x e-x 1-e-x

0

0.1

1

2

2.3

Penn ESE370 Fall2014 -- DeHon11

V (t) = 1 − e−t /(RC )( )V

Fillin onboard

Shape of Curve

x e-x 1-e-x

0 1 0

0.1 0.9 0.1

1 1/e = 0.37 0.66

2 1/e2 = 0.14 0.86

2.3 0.1 0.9

Penn ESE370 Fall2014 -- DeHon12

V (t) = 1 − e−t /(RC )( )V

Risetime: 10—90%

Penn ESE370 Fall2014 -- DeHon13Trise ~= 2.2ps

What is C?

Penn ESE370 Fall2014 -- DeHon14

Capacitance

• Wire

• MOSFET gate

• Logical Gate

• Fanout -- Total gate load

Penn ESE370 Fall2014 -- DeHon15

First Order Model

• Switch – Loads input capacitively

• As dig in, understand:– Origin of capacitance– How can we engineer– Tradeoffs

Penn ESE370 Fall2014 -- DeHon16

Logic Gate Input Capacitance

• Capacitance on– A input?– B input?

Penn ESE370 Fall2014 -- DeHon17

Fanout

• Number of things to which a gate output connects

Penn ESE370 Fall2014 -- DeHon18

Fanout in Circuit

• Output routed to many gate inputs

Penn ESE370 Fall2014 -- DeHon19

Fanout in Circuit

• Maximum fanout?

• Second?

• Min?

Penn ESE370 Fall2014 -- DeHon20

Lumped Capacitive Load

Penn ESE370 Fall2014 -- DeHon21

Cload = Cg ii∈ fanout

∑ + Cwii∈wires

What is R?

Penn ESE370 Fall2014 -- DeHon22

Resistance

• Wire resistance– Supply to transistor

source– Transistor output gate it

is driving

• Transistor equivalent resistance

Penn ESE370 Fall2014 -- DeHon23

First Order Model

• Switch – Resistive driver

• As dig in, understand:– More sophisticated view– How can we engineer– Tradeoffs

Penn ESE370 Fall2014 -- DeHon24

Equivalent Resistance

• What resistances might transistors contribute?– How many cases?– Assume Ron same all tr,

Resistance of each?

Penn ESE370 Fall2014 -- DeHon25

Equivalent Resistance

• What resistances might transistors contribute?

Penn ESE370 Fall2014 -- DeHon26

Input Rout

00 Ron/2

01 Ron

10 Ron

11 2Ron

Rise/Fall

• Rise and Fall time may differ– Why?– What is ratio?

Penn ESE370 Fall2014 -- DeHon27

Input Rout

00 Ron/2

01 Ron

10 Ron

11 2Ron

Lumped Resistive Source

Penn ESE370 Fall2014 -- DeHon28

Rdrive = Rtrnet + Rwii∈wires

∑ + Rpwr

Rtrnet = parallel and series combination of Rtr

Measuring Delay

Penn ESE370 Fall2014 -- DeHon29

Measuring Gate Delay

• Next stage starts to switch before first finishes

• Measure 50%--50%

Penn ESE370 Fall2014 -- DeHon30

67ps

80ps

tdel = 13ps

Characterizing Gate/Technology

• Delay measure will be– Function of load on gate– Function of input rise time

• Which, in turn, may be a function of input loading

Penn ESE370 Fall2014 -- DeHon31

Delay vs. Risetime

Penn ESE370 Fall2014 -- DeHon32

10ps delay 20ps delay

1ps rise 100ps rise

(if didn’t know input rise, wouldn’t know what a 13ps delay meant)

Characterizing Gate/Technology

• Delay measure will be– Function of load on gate– Function of input rise time

• Which, in turn, may be a function of input loading

• Want to understand typical– At least comparable

Penn ESE370 Fall2014 -- DeHon33

Standard Measurement for Characterization

• Drive with a gate – Not an ideal source– Input rise time typically would see in circuit

• Measure loaded gate– Typical loading – FO4

Penn ESE370 Fall2014 -- DeHon34

HW3 Recommendation

Penn ESE370 Fall2014 -- DeHon35

Measurement for Characterization

• Drive with a gate – Not an ideal source (how change if drive ideal?)– Input rise time typically would see in circuit

• Measure loaded gate– Typical loading – FO4

Penn ESE370 Fall2014 -- DeHon36

Measurement for Characterization

• Drive with a gate – Not an ideal source– Input rise time typically would see in circuit

• Measure loaded gate– Typical loading – FO4 (how change unloaded?)

Penn ESE370 Fall2014 -- DeHon37

Delay is RC Charging

Penn ESE370 Fall2014 -- DeHon38

Admin

• “Normal Week”– 3 Lecture Week (all here)

• Office Hours– Monday – Ron 7pm– Tuesday – Andre 4:15pm– Wednesday – Ron 7pm

• ngspice– Good to get running on laptop

Penn ESE370 Fall2014 -- DeHon39