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

Aperta
#11,653 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@jfgava ci sta già lavorando.

Dal 7/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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
Lingua principale
Verilog
Stelle
3.4k
Fork
1.1k
Merge medio
3g 11h
PR unite (30g)
245

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di The-OpenROAD-Project/OpenROAD

Tutte le issue di The-OpenROAD-Project/OpenROAD

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.