Skip to content

Secure or update sta latest 06/30#4335

Merged
maliberty merged 11 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-or_update_sta_latest_0629
Jul 6, 2026
Merged

Secure or update sta latest 06/30#4335
maliberty merged 11 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-or_update_sta_latest_0629

Conversation

@dsengupta0628

Copy link
Copy Markdown
Contributor

Update OpenSTA to 6/30th latest has some metrics variation (minor), Also mode and scene are now TCL object and not string so some save GIU scripts need updation too

@dsengupta0628 dsengupta0628 self-assigned this Jul 6, 2026

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

Copy link
Copy Markdown
Contributor

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 updates the OpenROAD submodule and modifies the save_images.tcl script to use the extracted scene_name instead of the scene object when naming saved layout images. The reviewer noted that saving the clock tree image to cts_$clock_name.webp will overwrite the image for each scene when multiple scenes exist, and suggested incorporating ${scene_name} into that filename as well to prevent overwriting.

Comment thread flow/scripts/save_images.tcl Outdated
$::env(REPORTS_DIR)/cts_$clock_name.webp
gui::select_clockviewer_clock $clock_name
save_image -resolution $resolution $::env(REPORTS_DIR)/cts_${scene}_${clock_name}_layout.webp
save_image -resolution $resolution $::env(REPORTS_DIR)/cts_${scene_name}_${clock_name}_layout.webp

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

medium

When there are multiple scenes, saving the clock tree image to $::env(REPORTS_DIR)/cts_$clock_name.webp (on line 73) will overwrite the image for each scene, leaving only the last scene's image. Since you are already extracting scene_name and using it for the layout image on line 75, you should also update the clock tree image filename on line 73 to include ${scene_name} (e.g., cts_${scene_name}_$clock_name.webp) to prevent overwriting.

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
@dsengupta0628 dsengupta0628 requested a review from maliberty July 6, 2026 12:50
@dsengupta0628

Copy link
Copy Markdown
Contributor Author

@maliberty maliberty merged commit 6f9fec4 into The-OpenROAD-Project:master Jul 6, 2026
8 checks passed
@maliberty maliberty deleted the secure-or_update_sta_latest_0629 branch July 6, 2026 15:53
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