grt: 26Q4 global route detours clock nets 3-4x when CTS NDRs are present (regression from 26Q2-911); GRT-0229 abort

オープン
#11,653 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@jfgava がすでに取り組んでいます。

2026年10月7日 から。

評価

この issue はまだ評価されていません。

説明

grt
Describe the bug

On 26Q4 (c4d317e4f), and still on master at 92a20a6b6, global_route routes some long clock nets several times their Manhattan length when the clock tree carries the non-default rules that clock_tree_synthesis applies by default (-apply_ndr half). The same input on 26Q2-911-g731f8ff5a4 routes them normally.

Platform: sky130hd. Block: about 1M instances, no macros. Settings: set_routing_layers -signal met1-met5 -clock met3-met5, global_route -congestion_iterations 20.

All runs below start from the same post-CTS database. It has 186 NDR nets, created by CTS on 26Q2.

26Q2-911 26Q4 26Q4, NDRs removed before global_route
A two-pin leaf clock net, 6.3 mm Manhattan 6.7 mm, 108 vias 25.3 mm (20.3 mm of it on met3), 592 vias 6.9 mm, 84 vias
Another two-pin clock net 5.4 mm 14.8 mm 5.3 mm
Total design wirelength 70.4 m 72.8 m 70.5 m
GRT-0273 Disabled NDR warnings 0 45 0
Worst hold slack, global-route parasitics -0.63 ns -11.1 ns -0.82 ns

The two detoured nets above carry no NDR themselves.

Other observations:

  • -critical_nets_percentage 0 still detours (hold -4.57 ns). -use_cugr also detours: 14.9 mm, slower.
  • On a different placement of the same design, global route aborts during the initial route with [ERROR GRT-0229] Vertical edge usage exceeds the maximum allowed. (145, 1024) usage=2402 limit=2200. Usage on the clock-root edges near the die boundary rises in steps of about 300, which looks like the 100x NDR surcharge in Graph2D::getCostNDRAware accumulating.
  • With CTS -apply_ndr half on 26Q4, a third placement also aborts with GRT-0229.
  • With -apply_ndr root_only, global route completes, but 104 of the 148 NDR nets are disabled (GRT-0273).

Workaround: clock_tree_synthesis -apply_ndr none.

Commits touching NDR handling since 26Q2-911: #11021 (909107cfc, demote congested NDR nets), #11416 (ca4f2e19b, exact NDR resource charge and refund), #10455, #10710. I have not bisected. #8466 (slow global routing after the -apply_ndr half default) is related but closed.

Expected Behavior

Clock nets route near their Manhattan length with the default CTS NDRs, as on 26Q2-911, and global route does not abort with GRT-0229 because of NDR surcharges.

Environment

OpenROAD 26Q4 (c4d317e4f, CMake Release build) and master 92a20a6b6 (Bazel --config=release), on Rocky Linux 8.10. Compared against 26Q2-911-g731f8ff5a4.

To Reproduce

The design is proprietary, so I cannot attach it. I can run diagnostic builds or patches on it, and report per-net route lengths and report_net output.

Relevant log output
[WARNING GRT-0273] Disabled NDR (to reduce congestion) for net: clknet_...
[ERROR GRT-0229] Vertical edge usage exceeds the maximum allowed. (145, 1024) usage=2402 limit=2200
主要言語
Verilog
スター
3.4k
フォーク
1.1k
平均マージ
3日 11時間
マージ済み PR(30日)
245

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

The-OpenROAD-Project/OpenROAD のほかの issue

The-OpenROAD-Project/OpenROAD の issue をすべて見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。