get_timing_edges -of_objects returns nested lists and ignores -to
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 83/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Đọc tcl/Sta.tcl, đặc biệt là get_timing_arcs_objects và get_timing_edges_cmd, rồi chạy trường hợp tái hiện từ graph/test bằng sta -no_init -exit repro.tcl. Issue xác định việc thêm các danh sách lồng nhau và kiểm tra -from bị trùng là nguyên nhân. Công việc hoàn tất khi kết quả là các cạnh phẳng, -to với -of_objects gây ra lỗi 540 và các số lượng golden bị ảnh hưởng phản ánh kết quả đã sửa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
get_timing_edges -of_objects returns one list element per instance instead of a flat list of edges. Each element holds all of that instance's edges as a nested Tcl list, so the result can't be passed to get_property, set_disable_timing or -filter, even though the command help says it can. Separately, the -to option is silently ignored when it is combined with -of_objects.
Repro
Run from graph/test with sta -no_init -exit repro.tcl:
read_liberty ../../test/nangate45/Nangate45_typ.lib
read_verilog graph_test1.v
link_design graph_test1
set edges [get_timing_edges -of_objects [get_cells reg1]]
puts [llength $edges]
get_property [lindex $edges 0] from_pin
set_disable_timing $edges
get_timing_edges -of_objects [get_cells reg1] -to [get_pins reg1/Q]
reg1 is a DFF_X1 with five non-wire edges (CK->Q, CK->QN, the width check, setup and hold). The output is:
1
Error 2201: ... get_property -object_type must be specified with object name argument.
set_disable_timing $edges warns object '{_..._p_Edge _..._p_Edge ...}' not found. and disables nothing. With -of_objects and -to together, the command returns the edges instead of raising error 540, "-from/-to arguments not supported with -of_objects."
The existing goldens record the wrong counts. For example, graph/test/graph_timing_edges.ok has reg1 timing edges count: 1, and graph_delete_modify.ok reports one edge for every cell, including the two-input gates.
parallaxsw/OpenSTA master has the same code.
Cause
In tcl/Sta.tcl:
get_timing_arcs_objectsbuilds its result withlappend edges [instance_edges $inst], which appends the whole list as a single element. The lib cell branch does the same withlappend arc_sets [$libcell timing_arc_sets].get_timing_edges_cmdchecks[info exists keys(-from)] || [info exists keys(-from)], testing-fromtwice and never-to.
- Ngôn ngữ chính
- Verilog
- Star
- 658
- Fork
- 299
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 28
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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/OpenSTA
-
with_output_to_variable runs its commands outside the caller's scope and hides errorsCó thể đã có người làm @dsengupta0628 đã nhận 25 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
The-OpenROAD-Project/OpenSTA#458 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
get_fanin/get_fanout drop pins of nets with more than one pinCó thể đã có người làm @dsengupta0628 đã nhận 25 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
The-OpenROAD-Project/OpenSTA#457 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
`write_sdf` record order causes a conditional IOPATH delay to be overwrittenCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
The-OpenROAD-Project/OpenSTA#495 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
The-OpenROAD-Project/OpenSTA#477 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CRPR: paths, memory and runtime grow faster than the design on large propagated clock networksCó thể đã có người làm @dsengupta0628 đã nhận 25 ngày trước. Đang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 22/100
The-OpenROAD-Project/OpenSTA#452 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của The-OpenROAD-Project/OpenSTA
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
superfly/contextwindow#18 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Lincoln-cn/JAiRouter#1452 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accepted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
future-agi/future-agi#6351 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày