Skip to content

Conversation

@gudeh
Copy link
Contributor

@gudeh gudeh commented Dec 22, 2025

Allows for automatically generating the worst path image at the final report from ORFS.

gui::show_worst_path
image

@gudeh gudeh requested review from gadfort and maliberty December 22, 2025 18:46
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a new Tcl command gui::show_worst_path to highlight the worst timing path in the GUI. The implementation is mostly correct and follows the existing structure of the GUI code. However, I've found one critical bug in the implementation that needs to be addressed.

@github-actions
Copy link
Contributor

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

check for invalid objects,
rename function,
remove unecessary selectedCaptureRowChanged()

Signed-off-by: Augusto Berndt <[email protected]>
@gudeh gudeh requested a review from gadfort December 23, 2025 22:32
@github-actions
Copy link
Contributor

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

1 similar comment
@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

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

@gadfort
Copy link
Collaborator

gadfort commented Dec 24, 2025

@gudeh it occurred to me that it might be useful to have a way to hide the timing path from TCL as well. Otherwise this command becomes a one-way thing in the scripts

gui->saveHistogramImage(filename, mode, width_px, height_px);
}

void show_worst_path(bool setup = true)
Copy link
Member

Choose a reason for hiding this comment

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

Add to the docs

@gudeh
Copy link
Contributor Author

gudeh commented Dec 25, 2025

@gudeh it occurred to me that it might be useful to have a way to hide the timing path from TCL as well. Otherwise this command becomes a one-way thing in the scripts

I included a gui::clear_timing_path, and tested both commands at make do-final, one after the other:

gui::show_worst_path
save_image -resolution $resolution $::env(REPORTS_DIR)/final_worst_path.webp
image
gui::clear_timing_path
save_image -resolution $resolution $::env(REPORTS_DIR)/final_clear_timing_path.webp
image

@github-actions
Copy link
Contributor

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

1 similar comment
@github-actions
Copy link
Contributor

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

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.

3 participants