repair_timing -sequence vt_swap doesn't work with post-DRT design
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Describe the bug
Post detailed route, I would like to perform Vt swaps for timing repair without disturbing the design's routes. I understand that more invasive site-level swapping will cause re-legalization / re-route issues. However, calling repair_timing -setup -sequence vt_swap -skip_last_gasp -skip_pin_swap has unexpected effects and the design no longer appears routed.
Expected Behavior
We can perform Vt swaps only in repair_timing post detailed route and the routes will remain valid.
Environment
[WARNING] Your current OpenROAD version is outdated.
It is recommened to pull the latest changes.
If problem persists, file a github issue with the re-producible test case.
Git commit: a9cf9fb22ee82c0cdc5421d4f7c84721eb273dcc
OpenSTA commit: dfe05bd30c21c9817a8cd52f047115269cbe66d4
Local changes:
?? repro.tcl
?? repro_post_route_vt_swap.tcl
?? src/
?? third-party/abc/
?? third-party/slang-elab/
?? third-party/sv-elab/
kernel: Linux 7.1.6-1rodete1-amd64 x86_64
os: Debian GNU/Linux rodete
bazelisk not found in PATH.
To Reproduce
repro.tcl:
# Minimal reproducer showing `repair_timing -setup -sequence vt_swap` destroys
# detailed wires (dbWire) on a post-detailed-route design.
#
# Run from the OpenROAD repo root:
# ./bazel-bin/openroad/openroad -exit repro_post_route_vt_swap.tcl
suppress_message STA 1212
set test_dir "openroad/rsz/test"
foreach lib {
asap7/asap7sc7p5t_AO_RVT_FF_nldm_211120.lib.gz
asap7/asap7sc7p5t_INVBUF_RVT_FF_nldm_220122.lib.gz
asap7/asap7sc7p5t_OA_RVT_FF_nldm_211120.lib.gz
asap7/asap7sc7p5t_SIMPLE_RVT_FF_nldm_211120.lib.gz
asap7/asap7sc7p5t_SEQ_RVT_FF_nldm_220123.lib
asap7/asap7sc7p5t_AO_LVT_FF_nldm_211120.lib.gz
asap7/asap7sc7p5t_INVBUF_LVT_FF_nldm_220122.lib.gz
asap7/asap7sc7p5t_OA_LVT_FF_nldm_211120.lib.gz
asap7/asap7sc7p5t_SIMPLE_LVT_FF_nldm_211120.lib.gz
asap7/asap7sc7p5t_SEQ_LVT_FF_nldm_220123.lib
asap7/asap7sc7p5t_AO_SLVT_FF_nldm_211120.lib.gz
asap7/asap7sc7p5t_INVBUF_SLVT_FF_nldm_220122.lib.gz
asap7/asap7sc7p5t_OA_SLVT_FF_nldm_211120.lib.gz
asap7/asap7sc7p5t_SIMPLE_SLVT_FF_nldm_211120.lib.gz
asap7/asap7sc7p5t_SEQ_SLVT_FF_nldm_220123.lib
} {
read_liberty $test_dir/$lib
}
read_lef $test_dir/asap7/asap7_tech_1x_201209.lef
read_lef $test_dir/asap7/asap7sc7p5t_28_R_1x_220121a.lef
read_lef $test_dir/asap7/asap7sc7p5t_28_L_1x_220121a.lef
read_lef $test_dir/asap7/asap7sc7p5t_28_SL_1x_220121a.lef
read_def $test_dir/gcd_asap7_placed.def
read_sdc $test_dir/gcd.sdc
source $test_dir/asap7/setRC.tcl
# Global + detailed route the design and extract post-route parasitics.
set_routing_layers -signal M2-M6 -clock M4-M6
pin_access
global_route -congestion_iterations 50
detailed_route -no_pin_access -verbose 0
set_extraction_rules_file $test_dir/asap7/rcx_patterns.rules
extract_parasitics
if { ![design_is_routed] } {
error "Expected design_is_routed == 1 before repair_timing"
}
# Pure VT-swap-only repair (no sizing, buffering, cloning, or pin swaps).
repair_timing -setup -sequence vt_swap -skip_last_gasp -skip_pin_swap -verbose
# Re-extracting shows ~75% of routed RC segments vanished, and built-in
# `design_is_routed -verbose` flags 266 unrouted nets ([WARNING ODB-0232]).
extract_parasitics
if { ![design_is_routed -verbose] } {
error "FAIL: design is no longer routed after repair_timing -sequence vt_swap"
}
Relevant log output
Screenshots
No response
Additional Context
No response
- 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)
- 247
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của The-OpenROAD-Project/OpenROAD
-
drt: min-area patch owner search compares the origin-relative patch box with absolute shapes, so patches are droppedCó thể đã có người làm @bnmfw đã nhận 11 ngày trước. Đang mởbug drt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
The-OpenROAD-Project/OpenROAD#12191 · 5 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
odb LEF58_MINIMUMCUT: per-cut-class form never sets isPerCutClass, so drt silently drops the ruleCó thể đã có người làm @LucasYuki đã nhận 25 ngày trước. Đang mởbug drt odb
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
The-OpenROAD-Project/OpenROAD#12176 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
drt: LEF58_SPACING ENDOFLINE MINLENGTH l TWOSIDES is checked one-sided (io passes the TWOEDGES flag as TWOSIDES)Có thể đã có người làm @osamahammad21 đã nhận 25 ngày trước. Đang mởbug drt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
The-OpenROAD-Project/OpenROAD#12173 · 1 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
cleanup-opportunity: BUILD files never refer to mockturtle in third-partty/Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mởbazel enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 76/100
The-OpenROAD-Project/OpenROAD#12160 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
odb: Bazel build fails on linux/aarch64 — char fc compared to EOF in def/lef lexersCó thể đã có người làm @shivarammysore đã nhận 32 ngày trước. Đang mởbazel bug odb
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 80/100
The-OpenROAD-Project/OpenROAD#12095 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày