D77 of 7
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

D7 · Lesson 7 · Capstone

Sizing a chain of logic gates for the least delay with the method of logical effort, path effort from logical, branching and electrical effort, the best effort per stage, sizing each gate backward from the load, checking the delay against the clock and fixing a path that misses

A critical path on a chip is a chain of gates that must drive a large load, perhaps a long wire or a bank of flip-flops, within one clock period. Make every gate tiny and the last one can't drive the load; make them all huge and the first one can't drive its neighbor. Ivan Sutherland and Bob Sproull's logical effort turns this into arithmetic: each gate's delay is its effort plus its parasitic delay, and the whole path is fastest when every stage bears the same effort. This capstone sizes a four-gate path that way, then checks whether it meets a 100 ps clock.

  • A path of an inverter, a NAND2, a NOR2 and an inverter (logical efforts 1, 4/3, 5/3, 1) driving H times its own input capacitance, with extra inverters added in pairs to keep the polarity.
  • The stems give the least delay, in units of τ (one inverter's intrinsic delay), with N stages: D=NF1/N+P.
  • For a light load the four logic gates alone are fastest. For a heavy load, adding buffer stages pays off: the best number is about log4⁡F.

Predict

The path drives 64 times its input capacitance. Its logical efforts multiply to 20/9. What effort should each of its four stages bear?

Name it

Logical effort

A gate's delay, in units of τ, is

d=gh+p
  • logical effort g: how much worse the gate is at driving current than an inverter with the same input capacitance (inverter 1, NAND2 4/3, NOR2 5/3);
  • electrical effort h = Cout/Cin;
  • parasitic delay p (inverter 1, two-input gates 2).

A path

For a path, multiply: G=∏gi, the branching effort B=∏bi (where a stage also drives other gates, b=(Con path+Coff path)/Con path), and H=Cout/Cin for the whole path. The path effort is F = GBH and the least delay is

D=Nf^+P,f^=F1/N

reached when every stage bears the same effort f^, ideally around 4.

Sizing

Work backward from the load: each stage's input capacitance is

Cin,i=gibiCout,if^

and the first stage lands exactly on the path's input capacitance.

Closing timing

The slack is the clock period minus the path's delay. A path that misses can be fixed by adding buffer stages (when F is large), restructuring logic to lower G, splitting the load to lower B, or moving logic across flip-flops.

Worked example

Size the four-stage path for H = 64 with a unit input capacitance.

Show the solution
  1. Stage effort. f^=142.21/4=3.453
  2. Last inverter. Work back from the load, dividing by f^ and multiplying by each gate's g: 643.453=18.53
  3. NOR2. 53×18.533.453=8.94
  4. NAND2. 43×8.943.453=3.45
  5. First inverter. 3.453.453=1.00 as it must be.

Answer input capacitances of 1.00, 3.45, 8.94 and 18.53 from the first stage to the last.

Worked example

With τ = 5 ps, does the path meet a 100 ps clock? What if the load doubles?

Show the solution
  1. Delay of the path. D=4f^+6=19.81τ=99.07ps a slack of 0.93 ps.
  2. Twice the load. F = 284.4, so f^ = 4.11: D=4f^+6=22.43τ=112.1ps so it misses by 12.1 ps.
  3. What would help. Six stages wouldn't (23.4 τ); restructuring the logic or splitting the load would.

Answer the path meets the 100 ps clock with 0.93 ps of slack; with twice the load it misses by 12.1 ps.

Worked example

What if a single inverter drove the path's whole load (H = 64) directly?

Show the solution
  1. One stage. d=(gh+p)τ=(1×64+1)τ=65τ=325ps
  2. Compare. The sized four-stage path takes 99 ps. Spreading the effort over stages, each with an effort near 4, is what makes big loads fast.

Answer 325 ps, against 99 ps for the sized four-stage path.

Check

Compute the path effort and least delay, size every stage, and check the slack.

Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.

Check

A path of an inverter, NAND2, NOR2 and inverter (logical efforts 1, 4/3, 5/3, 1) has a branching effort of 1 and drives 64 times its input capacitance. What's its path effort?

Check

A path has effort 142.2 and 3 stages. What effort should each stage bear for the least delay?

Check

A path has effort 142.2, 4 stages and total parasitic delay 8. What's its least delay, in units of τ?

Check

A stage with logical effort 1.667 drives 20 units of capacitance, with a stage effort of 4. What should its input capacitance be?

Check

A chain of 2 inverters drives a load 64 times its input capacitance.

(a)

What is the best stage effort?

(b)

What is the path delay, N(f^+p) with p = 1?

Check

A single inverter drives a load 64 times its input, with τ = 3 ps.

(a)

What is its delay?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

(b)

About how many stages would be best, at a stage effort near 4?

Check

A path has total logical effort 1.333, branching effort 1 and electrical effort 64, over 4 stages.

(a)

What is its path effort F?

(b)

What is the best stage effort?

Check

A path's delay is 20 τ with τ = 4 ps; the clock period is 110 ps.

(a)

What is its delay?

Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.

(b)

What is its slack (negative if it fails)?

Explain why

Why is a chain of gates fastest when every stage bears the same effort?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.