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

global route: fix GENERATE_ARTIFACTS_ON_FAILURE use-case #2511

Conversation

oharboe
Copy link
Collaborator

@oharboe oharboe commented Oct 27, 2024

the .sdc file must be written out alongside the .odb file and .rpt file in the failing test case whenGENERATE_ARTIFACTS_ON_FAILURE=1.

I suppose copying would have worked too, but write_sdc should be fine.

the .sdc file must be written out alongside the .odb file
and .rpt file in the failing test case when
GENERATE_ARTIFACTS_ON_FAILURE=1

Signed-off-by: Øyvind Harboe <[email protected]>
Comment on lines 31 to 34
if {[expr !$::env(GENERATE_ARTIFACTS_ON_FAILURE) || \
![file exists $::global_route_congestion_report] || \
[file size $::global_route_congestion_report] == 0]} {
write_sdc -no_timestamp $::env(RESULTS_DIR)/5_1_grt.sdc
Copy link
Member

Choose a reason for hiding this comment

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

Why is this in the !$::env(GENERATE_ARTIFACTS_ON_FAILURE) branch? You said you want it for GENERATE_ARTIFACTS_ON_FAILURE=1

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Failing eyesight, will fix

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed.

I wish there was an easy and robust way to induce a global route failure in one of the ORFS designs...

the .sdc file must be written out alongside the .odb file
and .rpt file in the failing test case when
GENERATE_ARTIFACTS_ON_FAILURE=1

Signed-off-by: Øyvind Harboe <[email protected]>
@maliberty maliberty merged commit fd99d94 into The-OpenROAD-Project:master Oct 27, 2024
6 checks passed
@oharboe oharboe deleted the global-route-GENERATE_ARTIFACTS_ON_FAILURE-fix branch October 28, 2024 06:23
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