Top Banner
Penn ESE370 Fall2014 -- DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 8: September 15, 2014 Delay and RC Response
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.

Dec 13, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Penn ESE370 Fall2014 -- DeHon 1 ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems Day 8: September 15, 2014 Delay and RC Response.

Penn ESE370 Fall2014 -- DeHon1

ESE370:Circuit-Level

Modeling, Design, and Optimization for Digital Systems

Day 8: September 15, 2014

Delay and RC Response

Page 2: Penn ESE370 Fall2014 -- DeHon 1 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

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

Delay is RC Charging

Strategy• Understand switch

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

– Understand Rdrive

– Understand Cload

Penn ESE370 Fall2014 -- DeHon3

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

Today

• RC Charging

• RC Step Response

• What is the C?

• What is the R?

• Measuring Delay

Penn ESE370 Fall2014 -- DeHon4

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

90% Rise Time?

Penn ESE370 Fall2014 -- DeHon5

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

What does response look like?

Penn ESE370 Fall2014 -- DeHon6

about 2ps for 90% rise

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

• KCL @ Vmeasure?

• Current across Resistor?

• Current into Capacitor?

Penn ESE370 Fall2014 -- DeHon7

Governing Equations? (KCL)

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

Equations

Penn ESE370 Fall2014 -- DeHon8

Vin −Vmeasure

R=CdVmeasure dt

dVmeasuredt =

Vin −Vmeasure

RC

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

Solve Vmeasure

Penn ESE370 Fall2014 -- DeHon9

dVmeasuredt =

Vin −Vmeasure

RC

What’s Vmeasure?

Vmeasure =Vin 1 − e−t

RC ⎛

⎝ ⎜

⎠ ⎟

⎝ ⎜

⎠ ⎟

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

What does look like?

Penn ESE370 Fall2014 -- DeHon10

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

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

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

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

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

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

Risetime: 10—90%

Penn ESE370 Fall2014 -- DeHon13Trise ~= 2.2ps

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

What is C?

Penn ESE370 Fall2014 -- DeHon14

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

Capacitance

• Wire

• MOSFET gate

• Logical Gate

• Fanout -- Total gate load

Penn ESE370 Fall2014 -- DeHon15

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

First Order Model

• Switch – Loads input capacitively

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

Penn ESE370 Fall2014 -- DeHon16

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

Logic Gate Input Capacitance

• Capacitance on– A input?– B input?

Penn ESE370 Fall2014 -- DeHon17

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

Fanout

• Number of things to which a gate output connects

Penn ESE370 Fall2014 -- DeHon18

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

Fanout in Circuit

• Output routed to many gate inputs

Penn ESE370 Fall2014 -- DeHon19

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

Fanout in Circuit

• Maximum fanout?

• Second?

• Min?

Penn ESE370 Fall2014 -- DeHon20

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

Lumped Capacitive Load

Penn ESE370 Fall2014 -- DeHon21

Cload = Cg ii∈ fanout

∑ + Cwii∈wires

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

What is R?

Penn ESE370 Fall2014 -- DeHon22

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

Resistance

• Wire resistance– Supply to transistor

source– Transistor output gate it

is driving

• Transistor equivalent resistance

Penn ESE370 Fall2014 -- DeHon23

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

First Order Model

• Switch – Resistive driver

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

Penn ESE370 Fall2014 -- DeHon24

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

Equivalent Resistance

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

Resistance of each?

Penn ESE370 Fall2014 -- DeHon25

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

Equivalent Resistance

• What resistances might transistors contribute?

Penn ESE370 Fall2014 -- DeHon26

Input Rout

00 Ron/2

01 Ron

10 Ron

11 2Ron

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

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

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

Lumped Resistive Source

Penn ESE370 Fall2014 -- DeHon28

Rdrive = Rtrnet + Rwii∈wires

∑ + Rpwr

Rtrnet = parallel and series combination of Rtr

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

Measuring Delay

Penn ESE370 Fall2014 -- DeHon29

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

Measuring Gate Delay

• Next stage starts to switch before first finishes

• Measure 50%--50%

Penn ESE370 Fall2014 -- DeHon30

67ps

80ps

tdel = 13ps

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

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

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

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)

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

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

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

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

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

HW3 Recommendation

Penn ESE370 Fall2014 -- DeHon35

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

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

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

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

Page 38: Penn ESE370 Fall2014 -- DeHon 1 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 -- DeHon38

Page 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.

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