• No results found

ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems

N/A
N/A
Protected

Academic year: 2022

Share "ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems"

Copied!
44
0
0

Loading.... (view fulltext now)

Full text

(1)

ESE370: Circuit-Level Modeling, Design, and Optimization for Digital Systems

Lec 21: October 27, 2021

Distributed RC Wire and Elmore Delay

Penn ESE 370 Fall 2021 - Khanna

(2)

Today

!

Estimate delay in RC Network

"

Elmore delay calculation

!

Apply to wire delay

!

Apply to pass transistor circuits

2 Penn ESE 370 Fall 2021 - Khanna

(3)

Previously: Equivalent RC

3 Penn ESE 370 Fall 2021 - Khanna

2C

0

+3C

diff0

2C

0

+2C

diff0

(4)

Previously: Distributed RC (preclass 1)

!

What are the time constants?

Penn ESE 370 Fall 2021 - Khanna 4

1 2 3 4 5 6 7 8 9 10 (ns)

(5)

Elmore Delay: Distributed RC network

!

The delay from source s to node 5

"

N = number of nodes in circuit

5 Penn ESE 370 Fall 2021 – Khanna

5 C5

𝑅

!"

= # 𝑅

#

⇒ (𝑅

#

∈ 𝑝𝑎𝑡ℎ 𝑠 → 5 ∩ 𝑝𝑎𝑡ℎ 𝑠 → 𝑘 )

𝜏

$!

= #

"%&

'

𝐶

"

𝑅

!"

(6)

What is response?

6 Penn ESE 370 Fall 2021 - Khanna

y

P

Q P

Q

(7)

Elmore Delay: Practice (preclass 1)

!

The delay from source s to node i

"

N = number of nodes in circuit

7

R

ik

= ∑ R

j

⇒ (R

j

∈ [ path(s → i)∩ path(s → k)])

Penn ESE 370 Fall 2021 - Khanna

τ Di = C k R ik

k=1 N

(8)

Apply (preclass 1)

!

What is Elmore delay?

"

S # Z

8 Penn ESE 370 Fall 2021 - Khanna

/z

y z

C1 C2

C3

s

(9)

SPICE Response

9 Penn ESE 370 Fall 2021 - Khanna

1 2 3 4 5 6 7 8 9 10 (ns)

C1 C2

C3

(10)

Elmore Delay: Special Ladder Case

!

For each resistor C k in path

"

Compute R

kk

= sum of all Rs upstream of C

k

10

τ DN = C k

k=1 N

R j

j=1 k

= C k

k=1 N

R kk

Penn ESE 370 Fall 2021 - Khanna

(11)

Elmore Delay: Special Ladder Case

!

For each resistor C k in path

"

Compute R

kk

= sum of all Rs upstream of C

k

11 Penn ESE 370 Fall 2021 - Khanna

C

1

*(R

1

)+C

2

*(R

1

+R

2

)

τ DN = C k

k=1 N

R j

j=1 k

= C k

k=1 N

R kk

(12)

Elmore Delay: Special Ladder Case

!

For each resistor C k in path

"

Compute R

kk

= sum of all Rs upstream of C

k

12 Penn ESE 370 Fall 2021 - Khanna

C

1

*(R

1

)+C

2

*(R

1

+R

2

)

=3RC

=3ns

τ DN = C k

k=1 N

R j

j=1 k

= C k

k=1 N

R kk

(13)

!

Equations from KCL?

13

R1 R2

C1 C2

Compare KCL: Setup

V

S

−V

1

R

1

= V

1

−V

2

R

2

+ C

1

dV

1

dt V

1

−V

2

R

2

= C

2

dV

2

dt

V

S

V

1

V

2

Penn ESE 370 Fall 2021 - Khanna

@V 1 :

@V 2 :

(14)

Penn ESE 370 Fall 2021 - Khanna 14

V

S

−V

1

R

1

= V

1

−V

2

R

2

+ C

1

dV

1

dt V

S

R

1

= V

1

R

1

+ V

1

R

2

V

2

R

2

+ C

1

dV

1

dt V

S

= V

1

1+ R

1

R

2

"

# $ %

&

' − R

1

V

2

R

2

+ R

1

C

1

dV

1

dt

V

1

−V

2

R

2

= C

2

dV

2

dt V

1

R

2

= V

2

R

2

+ C

2

dV

2

dt V

1

= V

2

+ R

2

C

2

dV

2

dt dV

1

dt = dV

2

dt + R

2

C

2

d

2

V

2

dt

2

Compare KCL: Math

@V 1 : @V 2 :

(15)

Penn ESE 370 Fall 2021 - Khanna 15

V

S

= V

1

1+ R

1

R

2

!

"

# $

% & − R

1

R

2

V

2

+ R

1

C

1

dV

1

dt V

S

= V

2

+ R

2

C

2

dV

2

dt

!

"

# $

% & 1+ R

1

R

2

!

"

# $

% & − R

1

R

2

V

2

+ R

1

C

1

dV

2

dt + R

2

C

2

d

2

V

2

dt

2

!

"

# $

% &

V

S

= V

2

+ R

2

C

2

1+ R

1

R

2

!

"

# $

% & + R

1

C

1

!

"

## $

% && dV

2

dt + R

1

C

1

R

2

C

2

d

2

V

2

dt

2

V

S

= V

2

+ (R

2

C

2

+ R

1

C

2

+ R

1

C

1

) dV

2

dt + R

1

C

1

R

2

C

2

d

2

V

2

dt

2

Compare KCL: Math

(16)

Penn ESE 370 Fall 2021 - Khanna 16

V

S

= V

2

+ (R

2

C

2

+ R

1

C

2

+ R

1

C

1

) dV

2

dt + R

1

C

1

R

2

C

2

d

2

V

2

dt

2

V

S

= V

2

+ 3RC dV

2

dt + R

2

C

2

d

2

V

2

dt

2

R

1

= R

2

= R C

1

= C

2

= C

Compare KCL: Math

(17)

Penn ESE 370 Fall 2021 - Khanna 17

V

S

= V

2

+ (R

2

C

2

+ R

1

C

2

+ R

1

C

1

) dV

2

dt + R

1

C

1

R

2

C

2

d

2

V

2

dt

2

V

S

= V

2

+ 3RC dV

2

dt + R

2

C

2

d

2

V

2

dt

2

V

2

= A(1+ e

αt

) →

V

S

= A(1+ e

αt

) − 3RC ⋅ α Ae

αt

+ R

2

C

2

⋅ α

2

Ae

αt

R

1

= R

2

= R

C

1

= C

2

= C

Compare KCL: Math

(18)

Penn ESE 370 Fall 2021 - Khanna 18

V

2

= A(1+ e

αt

) →

V

S

= A(1+ e

αt

) − 3RC ⋅ α Ae

αt

+ R

2

C

2

⋅ α

2

Ae

αt

t = ∞ → V

2

= V

S

= A

V

S

= V

S

(1+ e

αt

) − 3RC ⋅ α V

S

e

αt

+ R

2

C

2

⋅ α

2

V

S

e

αt

0 = e

αt

− 3RC ⋅ α e

αt

+ R

2

C

2

⋅ α

2

e

αt

0 = e

αt

(1− 3RC α + R

2

C

2

⋅ α

2

) 0 = 1− 3RC α + R

2

C

2

⋅ α

2

Compare KCL: Math

(19)

Penn ESE 370 Fall 2021 - Khanna 19

V

2

= A(1+ e

αt

) →

V

S

= A(1+ e

αt

) − 3RC ⋅ α Ae

αt

+ R

2

C

2

⋅ α

2

Ae

αt

t = ∞ → V

2

= V

S

= A

V

S

= V

S

(1+ e

αt

) − 3RC ⋅ α V

S

e

αt

+ R

2

C

2

⋅ α

2

V

S

e

αt

0 = e

αt

− 3RC ⋅ α e

αt

+ R

2

C

2

⋅ α

2

e

αt

0 = e

αt

(1− 3RC α + R

2

C

2

⋅ α

2

) 0 = 1− 3RC α + R

2

C

2

⋅ α

2

Compare KCL: Math

(20)

Penn ESE 370 Fall 2021 - Khanna 20

V

2

= V

S

(1+ e

αt

)

0 = 1− 3RC α + R

2

C

2

⋅ α

2

α = 3RC ± 9(RC)

2

− 4(RC)

2

2(RC)

2

= 3RC ± 5RC

2(RC)

2

= 3± 5 2RC

→ τ = 2

3± 5 RC ≈ 2.6RC

Compare KCL: Math

(21)

Penn ESE 370 Fall 2021 - Khanna 21

V

2

= V

S

(1+ e

αt

)

0 = 1− 3RC α + R

2

C

2

⋅ α

2

α = 3RC ± 9(RC)

2

− 4(RC)

2

2(RC)

2

= 3RC ± 5RC

2(RC)

2

= 3± 5 2RC

→ τ = 2

3± 5 RC ≈ 2.6RC

Compare KCL: Math

=3RC

=3ns

(22)

Elmore Delay: Distributed RC network

!

The delay from source to node i

"

N = number of nodes in circuit

!

Special ladder case

22

R

ik

= ∑ R

j

⇒ (R

j

∈ [ path(s → i)∩ path(s → k)])

Penn ESE 370 Fall 2021 - Khanna

τ Di = C k R ik

k=1 N

τ DN = C k

k=1 N

R j

j=1 k

= C k

k=1 N

R kk

(23)

Wire Delay

Penn ESE 370 Fall 2021 - Khanna 23

(24)

Wire Resistance

100um

1um

1um A

B

R = ρ L A

R = 10

−7

Ω⋅ m ⋅100 µ m

1 µ m ⋅1 µ m = 10Ω

Penn ESE370 Fall2021 – Khanna 24

(25)

Wire Capacitance

4 m

0.2 mm

0.1 mm A

B

0.1 mm

metal plate

dielectric material

C = ε d A d

Penn ESE370 Fall2021 – Khanna 25

(26)

Wire as Distributed RC Ladder

!

Measure wire length in units

"

Say l

"

Each l unit has C

unit

, R

unit

"

Unit capacitance and resistance of wire of length l

26 Penn ESE 370 Fall 2021 - Khanna

(27)

Wire Delay

!

Delay of Wire N units long:

27 Penn ESE 370 Fall 2021 - Khanna

(28)

Wire Delay

!

Delay of Wire N units long:

R

unit

C

unit

28 Penn ESE 370 Fall 2021 - Khanna

(29)

Wire Delay

!

Delay of Wire N units long:

R

unit

C

unit

+ 2R

unit

C

unit

29 Penn ESE 370 Fall 2021 - Khanna

(30)

Wire Delay

!

Delay of Wire N units long:

R

unit

C

unit

+ 2R

unit

C

unit

+ 3R

unit

*C

unit

+ … +NR

unit

*C

unit

=(R

unit

*C

unit

)*(N+(N-1)+(N-2)+….1)

30 Penn ESE 370 Fall 2021 - Khanna

(31)

Sum of integers (preclass 2)

!

What’s the sum of the integer 1 to N?

31

k

k=0 N

=

Penn ESE 370 Fall 2021 - Khanna

(32)

Sum of integers

!

What’s the sum of the integer 1 to N?

32

k

k=0 N

= N(N +1) 2 N

2

2

Penn ESE 370 Fall 2021 - Khanna

(33)

Wire Delay (preclass 3)

!

Delay of Wire N units long:

R

unit

*(N*C

unit

)

+ R

unit

((N-1)*C

unit

+ R

unit

*(N-2)*C

unit

+ … +R

unit

*C

unit

=(R

unit

*C

unit

)*(N+N-1+N-2+….1)

~=R

unit

C

unit

*N

2

/2

33 Penn ESE 370 Fall 2021 - Khanna

(34)

Lumped RC Wire? (preclass 4)

!

What would the delay be if we treated the wire as lumped R and C?

34

R

wire

= N×R

unit

C

wire

= N×C

unit

Penn ESE 370 Fall 2021 - Khanna

(35)

Wire Delay

!

R wire = N*R unit

!

C wire =N*C unit

!

Lumped RC wire delay = R unit *C unit *N 2

!

Distributed RC Wire delay = R unit *C unit *N 2 /2

!

Distributed has half the delay of lumped RC product

!

Delay is quadratic in length of wire in both cases

35 Penn ESE 370 Fall 2021 - Khanna

(36)

Apply to Gates

Pass Transistor and CMOS

Penn ESE 370 Fall 2021 - Khanna 36

(37)

Pass Transistor XOR

!

Delay when A=B=1?

37 Penn ESE 370 Fall 2021 - Khanna

2C

0

+3C

diff0

2C

0

+2C

diff0

(38)

Pass Transistor XOR (preclass 5)

!

Delay when A=1, B=0?

"

Start with equivalent

RC circuit

38 Penn ESE 370 Fall 2021 - Khanna

(39)

Unbuffered (preclass 6)

!

Circuit # Delay?

"

2 stages

39 Penn ESE 370 Fall 2021 - Khanna

(40)

Unbuffered (preclass 7)

!

Circuit # Delay?

"

3 stages

40 Penn ESE 370 Fall 2021 - Khanna

(41)

Unbuffered (preclass 8)

!

Delay as a function of number of stages, k?

41 Penn ESE 370 Fall 2021 - Khanna

(42)

CMOS XOR (preclass 9)

!

Delay with Cdiff>0?

42 Penn ESE 370 Fall 2021 - Khanna

(43)

Idea

!

Elmore delay calculation allows us to estimate delay for distributed RC network

"

Necessary for pass transistors

!

Wires are distributed RC

"

Half delay lumped calculation

"

Still quadratic in length

43 Penn ESE 370 Fall 2021 - Khanna

(44)

Admin

!

Project 1

"

Final report due Friday 10/29 midnight

44 Penn ESE 370 Fall 2021 - Khanna

References

Related documents

In conclusion, the purpose of the current review was to highlight the social and psychological elements attributed to AN by sufferers (Kelley, 1973; Nordbo et al., 2006; Woolrich

Setelah mengetahui peluang, ancaman, kekuatan, serta kelemahan perusahaan, maka dapat dibuat matrik SWOT untuk mengetahui strategi apa saja yang dapat digunakan

In 1993, the school changed its name to the Department of Library and Information Science, and today a total of seven library master’s programs are available in Taiwan,

degree holder faculty members of technical universities have moderate level of organizational commitment and dominant components are normative commitments means faculty

 Users Need to Upgrade Their Zoom Client Before May 30  SANS Security Awareness Training Extended to June 1  Blackboard Phase-Out..  Blackboard to D2L Transition Resources 

Evaluation of the GeneXpert MTB/RIF assay for rapid diagnosis of tuberculosis and detection of rifampin resistance in pulmonary and extrapulmonary specimens. Ghariani A, Jaouadi

In the microscopic study of both kidneys, isolated focuses of lymphoplasmocyte intersti­ tial infiltrate were detected at a cortical zone; the glomeruli showed marked

categories above then the admissions committee will offer places first to children living nearest to the school defined ‘as the crow flies’ from the child’s permanent place