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

Đang mở
#11,653 4 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@jfgava đang làm issue này rồi.

Từ ngày 7/10/2026.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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
Ngôn ngữ chính
Verilog
Star
3.4k
Fork
1.1k
Merge trung bình
3 ngày 11 giờ
Pull request đã merge (30 ngày)
245

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của The-OpenROAD-Project/OpenROAD

Tất cả issue của The-OpenROAD-Project/OpenROAD

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.