Skip to content

mpl: rename default halo to base halo on new command for clarity#10159

Open
AcKoucher wants to merge 2 commits intoThe-OpenROAD-Project:masterfrom
AcKoucher:mpl-set-base-macro-halo
Open

mpl: rename default halo to base halo on new command for clarity#10159
AcKoucher wants to merge 2 commits intoThe-OpenROAD-Project:masterfrom
AcKoucher:mpl-set-base-macro-halo

Conversation

@AcKoucher
Copy link
Copy Markdown
Contributor

@AcKoucher AcKoucher commented Apr 16, 2026

Summary

In MPL, we always floor the DEF halo to the default halo dimensions, so that makes it more of a base halo than a default halo per say.

Type of Change

  • Refactoring

Impact

No impact.

Verification

  • I have verified that the local build succeeds (./etc/Build.sh).
  • I have run the relevant tests and they pass.
  • My code follows the repository's formatting guidelines.
  • I have signed my commits (DCO).

Copy link
Copy Markdown
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 renames the set_macro_default_halo command and its associated internal variables to set_macro_base_halo across the codebase, including documentation, C++ classes, and Tcl scripts. The review feedback highlights an opportunity to update a report label for consistency, suggests improving the formatting of a warning message to avoid excessive whitespace, and recommends maintaining backward compatibility by providing a deprecated alias for the removed command.

Comment thread src/mpl/src/clusterEngine.cpp
Comment thread src/mpl/src/mpl.tcl
Comment thread src/mpl/src/mpl.tcl
@github-actions
Copy link
Copy Markdown
Contributor

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

3 similar comments
@github-actions
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

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

@github-actions
Copy link
Copy Markdown
Contributor

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

@AcKoucher AcKoucher force-pushed the mpl-set-base-macro-halo branch from 80d17e1 to 46d1e1d Compare April 16, 2026 18:20
Signed-off-by: Arthur Koucher <arthurkoucher@precisioninno.com>
@AcKoucher AcKoucher force-pushed the mpl-set-base-macro-halo branch from 46d1e1d to 4460539 Compare April 17, 2026 12:35
@github-actions
Copy link
Copy Markdown
Contributor

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

@AcKoucher AcKoucher requested a review from maliberty April 17, 2026 13:34
@maliberty
Copy link
Copy Markdown
Member

It would be good to make a forwarding proc from the old name to the new one with a deprecated warning.

Signed-off-by: Arthur Koucher <arthurkoucher@precisioninno.com>
@github-actions github-actions bot added size/M and removed size/S labels Apr 17, 2026
@github-actions
Copy link
Copy Markdown
Contributor

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

@AcKoucher
Copy link
Copy Markdown
Contributor Author

@maliberty Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants