`write_sdf` record order causes a conditional IOPATH delay to be overwritten
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
The SDF writer lives in the OpenSTA source under the SDF-writing class (look for write_sdf and the code that emits IOPATH/COND records); start by unpacking opensta-mux-iopath.tar.gz and running sta -exit run.tcl to reproduce, then read how absolute arc records for a pin are ordered before they are printed. The fix is to emit an unconditional record before overlapping conditional records for the same pin pair, and to add a regression covering the sg13g2_mux2_1 case so the two conditional modes still match Liberty.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
On the IHP sg13g2_mux2_1, write_sdf emits an unconditional S → X record after the conditional record for A0=1, A1=0. With the generated SDF, both output transitions in that mode arrive 40 ps early.
Original output. OpenSTA 3.2.0 (39f9dec68a) wrote these three ABSOLUTE entries in this order (ns).
(COND A0 == 1'b1 && A1 == 1'b0
(IOPATH S X (0.218212::0.218212) (0.237999::0.237999)))
(IOPATH S X (0.183287::0.183287) (0.204822::0.204822))
(COND A0 == 1'b0 && A1 == 1'b1
(IOPATH S X (0.183287::0.183287) (0.204822::0.204822)))
The middle entry overwrites all matching S → X paths. The last entry updates only A0=0, A1=1. The values below were measured at the output pin in Icarus (3f05f92b0) at the model's 10 ps precision.
| A0=1, A1=0 | Expected from the conditional arc | Measured at X |
|---|---|---|
| S rises, X falls | 240 ps | 200 ps |
| S falls, X rises | 220 ps | 180 ps |
Order-only diagnostic. In a copy of the SDF, I moved the unconditional entry before both conditional entries, keeping every value unchanged. The same instance then delivered 240 ps and 220 ps on those transitions. All four pin delays across the two modes matched Liberty.
Reproduce. Extract opensta-mux-iopath.tar.gz, enter opensta-mux-iopath/, and run sta -exit run.tcl. The archive includes the one-cell netlist, the IHP v0.4.0 TT Liberty, and an optional Icarus pin test.
Could write_sdf emit the unconditional entry first when it overlaps conditional entries for the same pins?
- 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
-
get_timing_edges -of_objects returns nested lists and ignores -toCó 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 83/100
The-OpenROAD-Project/OpenSTA#456 · 1 người được giao ·
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 78/100
-
[优化]本地模型未启动时能否不要报上游不可用错误Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ranxianglei/billion-context#8315 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
XML grammar: only the closing --> of a comment gets the scope comment.block.xmlCó thể đã có người làm @alexeyfala đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
danipen/TextMateSharp#145 · 2 bình luận ·
-
accepted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
future-agi/future-agi#6368 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
omacom/omarchy#21787 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày