Algorithm Search⌘K

Definitioncore

Miller coupling factor

Also called switch factor, coupling capacitance multiplier.

The factor, usually 0 to 2, by which a coupling capacitance is scaled when it is grounded for delay analysis, depending on whether the neighbor switches with or against the net.

Definition

A victim net is joined to a neighbor net, the aggressor, by a coupling capacitance CcC_c, and to ground by CgC_g. Delay calculators work with grounded capacitances. To fold CcC_c into a grounded model, they replace it by k Cck\, C_c to ground, so the victim sees Cg+kCcC_g + k C_c. The number kk is the Miller coupling factor, also called the switch factor. The name comes from the Miller effect of amplifiers, where a capacitor between two nodes whose voltages move in opposite directions looks larger from one of them.

There are two common ways to fix kk. They agree in the simple cases and disagree in others, so a statement about kk must say which one it uses.

Charge-based factor. The victim voltage v(t)v(t) makes a transition of size VV that starts at t=0t = 0, and its delay is measured at the threshold θV\theta V, usually θ=1/2\theta = 1/2, reached at tθt_\theta. The aggressor voltage is a(t)a(t). The charge that the victim driver must put on CcC_c up to tθt_\theta is Cc Δ(v−a)C_c\, \Delta(v - a), where Δ\Delta is the change over [0,tθ][0, t_\theta]. A grounded capacitance kCck C_c would take the charge kCc Δvk C_c\, \Delta v, so

kcharge=Δ(v−a)Δv=1−ΔaθV.k_{\text{charge}} = \frac{\Delta (v - a)}{\Delta v} = 1 - \frac{\Delta a}{\theta V} .

Delay-based factor. kdelayk_{\text{delay}} is the value for which the victim's threshold delay in the grounded model equals its delay in the coupled circuit.

The three textbook values come from the charge-based form with ramps of equal slew that start together: a quiet aggressor (Δa=0\Delta a = 0) gives k=1k = 1; an aggressor that switches in the same direction (Δa=Δv\Delta a = \Delta v) gives k=0k = 0; an aggressor that switches in the opposite direction (Δa=−Δv\Delta a = -\Delta v) gives k=2k = 2.

Theorem (equal slews give 0 to 2). Let the victim be a ramp of rise time trt_r and the aggressor a ramp of the same swing VV and the same rise time, in either direction, starting at any time. Then 0≤kcharge≤20 \le k_{\text{charge}} \le 2.

Proof. The victim's window is [0,θtr][0, \theta t_r], and Δv=θV\Delta v = \theta V. The aggressor's slope is at most V/trV / t_r in absolute value, so over a window of length θtr\theta t_r it changes by at most θV\theta V: ∣Δa∣≤θV|\Delta a| \le \theta V. Then k=1−Δa/(θV)∈[0,2]k = 1 - \Delta a / (\theta V) \in [0, 2]. □\square

Unequal slews go beyond 2. If the aggressor rise time is tat_a while the victim's is tvt_v, the same argument gives ∣Δa∣≤min⁡(θVtv/ta, V)|\Delta a| \le \min(\theta V t_v / t_a,\ V), so

1−min⁡ ⁣(tvta,1θ)  ≤  kcharge  ≤  1+min⁡ ⁣(tvta,1θ),1 - \min\!\Big(\frac{t_v}{t_a}, \frac{1}{\theta}\Big) \;\le\; k_{\text{charge}} \;\le\; 1 + \min\!\Big(\frac{t_v}{t_a}, \frac{1}{\theta}\Big),

and both limits are reached: by an aggressor that ramps during the whole window when ta≥θtvt_a \ge \theta t_v, and by one whose whole transition lies inside the window when ta≤θtvt_a \le \theta t_v. For θ=1/2\theta = 1/2 and ta≤tv/2t_a \le t_v / 2 the range is [−1,3][-1, 3]. For example, a victim rising in 100 ps and an aggressor falling in 40 ps that starts at 5 ps finishes its whole swing before the victim reaches 50 percent at 50 ps, so Δa=−V\Delta a = -V and k=1+V/(0.5 V)=3k = 1 + V / (0.5\, V) = 3. Kahng, Muddu and Sarto (DAC 2000) showed by analysis of coupled RC lines that the switch factor ranges from −1-1 to 3, not from 0 to 2, once slews and alignment vary.

Examples and non-examples

Delay-based factor of a step. The victim driver is a step from 0 to VV at t=0t = 0 through a resistance RR into CgC_g, and CcC_c joins the victim to an aggressor that steps from VV to 0 at the same instant. Let x=Cc/(Cg+Cc)x = C_c / (C_g + C_c) and τ=R(Cg+Cc)\tau = R (C_g + C_c). At 0+0^+ charge sharing puts the victim at −xV-xV, and then v(t)=V−(1+x)Ve−t/τv(t) = V - (1 + x) V e^{-t/\tau}, so the 50 percent delay is τln⁡(2(1+x))\tau \ln(2(1 + x)). The grounded model gives R(Cg+kCc)ln⁡2R (C_g + k C_c) \ln 2. Setting the two equal gives

kdelay=1+ln⁡(1+x)xln⁡2,k_{\text{delay}} = 1 + \frac{\ln(1 + x)}{x \ln 2},

which lies strictly between 2 and 1+1/ln⁡2≈2.4431 + 1/\ln 2 \approx 2.443 for 0<x<10 < x < 1. Both edges are steps, so the slews are equal, and still k>2k > 2. The theorem above is about the charge-based factor with ramp waveforms that the coupling does not change. Here the coupling changes the victim waveform itself: it starts below 0.

CgC_g CcC_c xx kdelayk_{\text{delay}}, opposite step kdelayk_{\text{delay}}, same direction
1 0.001 0.001 2.442 −0.443-0.443
9 1 0.1 2.375 −0.520-0.520
3 1 0.25 2.288 −0.660-0.660
1 1 0.5 2.170 −1-1
1 3 0.75 2.077 delay 0, so k=−1/3k = -1/3

For the same direction, v(0+)=xVv(0^+) = xV and the delay is τln⁡(2(1−x))\tau \ln(2(1 - x)) when x<1/2x < 1/2, which gives k=1+ln⁡(1−x)/(xln⁡2)k = 1 + \ln(1 - x)/(x \ln 2). When x≥1/2x \ge 1/2 the coupling alone lifts the victim to 50 percent at 0+0^+, the delay is 0, and only k=−Cg/Cck = -C_g / C_c reproduces it: a smaller kk makes Cg+kCcC_g + k C_c, and so the delay of the grounded model, negative.

Charge-based factor, aligned ramps. With equal ramps that start together and θ=1/2\theta = 1/2: quiet aggressor, Δa=0\Delta a = 0, k=1k = 1; same direction, Δa=V/2\Delta a = V/2, k=0k = 0; opposite, Δa=−V/2\Delta a = -V/2, k=2k = 2.

Not a Miller factor: the noise on a quiet victim. When the victim does not switch, Δv=0\Delta v = 0 and kk is undefined. The quantity of interest is then the noise peak, which the Devgan metric bounds.

Not a constant of the layout. kk depends on the waveforms, the alignment and the threshold, not only on the geometry. Parasitic extraction gives CcC_c; the factor comes from timing.

  • Coupling capacitance CcC_c: the capacitance between two nets, given by extraction. The victim's total capacitance in a grounded model is Cg+kCcC_g + k C_c, and the Elmore delay or a nonlinear delay model then uses this value.
  • Crosstalk delay. The change of the victim delay caused by coupling, the delay noise part of crosstalk noise. A factor k>1k > 1 slows the victim, and k<1k < 1 speeds it up.
  • Timing windows. In static timing analysis, the aggressor can switch only inside its window of arrival times. If its window does not overlap the victim's transition, k=1k = 1 is safe. Tools iterate: the delays set the windows, and the windows set the factors.
  • Switching power. The energy drawn from the supply per transition of the victim also depends on what the aggressor does, so dynamic power estimates that use Cg+CcC_g + C_c are an average over aggressor activity.
  • Common practice. Many flows use k=2k = 2 for setup checks (the victim slowed by an opposite aggressor) and k=0k = 0 for hold checks (the victim sped up). By the results above these values are not safe bounds in general when slews differ, and the delay-based factor of a step already exceeds 2.

References

  1. Andrew B. Kahng, Sudhakar Muddu and Egino Sarto, On switch factor based analysis of coupled RC interconnects, Proceedings of the 37th ACM/IEEE Design Automation Conference, 79 to 84, June 2000, the analysis of the switch factor under different slews and alignments of the aggressor, which gives the range from -1 to 3 in place of the usual range from 0 to 2
  2. Jan M. Rabaey, Anantha Chandrakasan and Borivoje Nikolic, Digital Integrated Circuits, A Design Perspective, 2nd edition, Prentice Hall, 2003, the chapter on coping with interconnect, section on capacitive crosstalk and its effect on delay
  3. John M. Miller, Dependence of the input impedance of a three-electrode vacuum tube upon the load in the plate circuit, Scientific Papers of the Bureau of Standards 15, 1920, the original Miller effect, a capacitance between the input and the output of an inverting amplifier of gain A that looks 1 + A times larger from the input

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW0 stub
  • the lead paragraph