IC / chip design

critical path

Picture a relay race where the whole team can't start the next lap until the slowest runner has finished the current one. Inside a chip, your logic works the same way: on every tick of the clock, data launches out of one register, races through a thicket of gates, and has to arrive at the next register before the next tick. The chip can only run as fast as its slowest hand-off allows — so that one worst, slowest route is the critical path, and it single-handedly sets the ceiling on your clock speed.

More precisely, the critical path is the register-to-register route with the least slack — the smallest margin between when the signal is required to arrive and when it actually does. Each gate and wire along the way adds a little delay; string enough of them together and the total can exceed the clock period (minus setup time), meaning the data is still settling when the next edge arrives and the wrong value gets captured. Static timing analysis finds this path by propagating delays through the design's timing graph and computing the slack at every register, then reporting the path whose slack is worst (most negative, or smallest positive) as the critical path.

Here's the part practitioners care about: the critical path is the thing you fix to go faster. Shave delay off it — by simplifying the logic, resizing gates, or chopping a long chain in half with an extra pipeline register — and the next-slowest path becomes your new critical path. Speeding up any other path does nothing for your maximum frequency; only the bottleneck matters. So timing closure is really a game of whack-a-mole, repeatedly attacking whichever path currently holds the crown.

clock period ≥ critical-path delay (max register-to-register delay + setup time); critical path = the path with minimum slack

The clock period must cover the slowest register-to-register delay plus setup time; the critical path is the route with the least slack.

"Critical path" is borrowed from project management, where it names the longest chain of dependent tasks that determines a project's earliest finish — same idea, just delays instead of task durations. Note too that "longest" means longest in delay, not in physical wire length or gate count: a short chain of slow gates can easily out-delay a long chain of fast ones.

Also called
longest pathworst-case pathspeed pathcritical timing path关键路径關鍵路徑