Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsz: Document wire splitting reason #5147

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

povik
Copy link
Contributor

@povik povik commented May 22, 2024

On wire splitting in repair_design, name the inserted buffer according to the reason for splitting. A similar thing is done elsewhere in the repair code.

Split off from #5068

On wire splitting in `repair_design`, name the inserted buffer according
to the reason for splitting. A similar thing is done elsewhere in the
repair code.

Signed-off-by: Martin Povišer <[email protected]>
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Signed-off-by: Martin Povišer <[email protected]>
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@maliberty
Copy link
Member

The code changes are fine but you need to update the tests.

Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

sky130_fd_sc_hd__nor4_2/C -> A B D
sky130_fd_sc_hd__nor4_2/A -> D B C
sky130_fd_sc_hd__nor4_2/B -> D A C
sky130_fd_sc_hd__nor4_2/C -> D A B
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Huh, my local run and the CI server disagree on the iteration order here. Are the tests flaky?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the perennial problem of stl sets comparing pointers:
typedef Set<LibertyPort*> LibertyPortSet;
in

        sta::LibertyPortSet ports;
        equivCellPins(cell, port, ports);
        std::ostringstream ostr;
        for (auto port : ports) {
          ostr << ' ' << port->name();
        }

Signed-off-by: Martin Povišer <[email protected]>
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@povik
Copy link
Contributor Author

povik commented Jun 24, 2024

Now we are stuck on

+ ./test/regression jpeg_sky130hd
jpeg_sky130hd (tcl) *FAIL* DRT::max_slew_slack  -6% <  -2% ; DRT::max_capacitance_slack  -4% <  -2%
------------------------------------------------------
Failed 1/1
See /tmp/workspace/OpenROAD-Public_PR-5147-head/test/results/diffs for differences
See /tmp/workspace/OpenROAD-Public_PR-5147-head/test/results for log files
------------------------------------------------------
Found 1 tool regression failures.
script returned exit code 1

I guess the naming change influenced the iteration order somewhere downstream? How do I update those tests?

@maliberty
Copy link
Member

save_flow_metrics
save_flow_metrics_limits

@povik
Copy link
Contributor Author

povik commented Jun 24, 2024

Thanks!

@maliberty
Copy link
Member

This means this PR will need a full CI testing as it may change results on all ORFS designs. Let me know when it is ready for that.

@vvbandeira vvbandeira marked this pull request as draft October 7, 2024 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants