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

Abierto
#11,653 4 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@jfgava ya está trabajando en esto.

Desde el 7/10/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

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
Lenguaje dominante
Verilog
Estrellas
3.4k
Forks
1.1k
Merge medio
3 d 11 h
PR fusionados (30 d)
245

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de The-OpenROAD-Project/OpenROAD

Todos los issues de The-OpenROAD-Project/OpenROAD

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.