Skip to content

added layer name to min pitch message#10788

Draft
jeffng-or wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:pdn-message
Draft

added layer name to min pitch message#10788
jeffng-or wants to merge 1 commit into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:pdn-message

Conversation

@jeffng-or

Copy link
Copy Markdown
Contributor

Summary

Added missing layer name to minimum pitch message

Type of Change

  • Bug fix

Impact

Previous message didn't indicate the layer that was failing the minimum pitch check

Verification

  • I have verified that the local build succeeds (./etc/Build.sh).
  • I have signed my commits (DCO).

Related Issues

None

clang fix

Signed-off-by: Jeff Ng <jeffng@precisioninno.com>
@jeffng-or jeffng-or self-assigned this Jun 30, 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 fixes a format string issue in the error logging of src/pdn/src/straps.cpp by adding a placeholder and passing the layer name. The feedback points out a minor typo in the error message ("atleast" instead of "at least") and suggests a correction.

Comment thread src/pdn/src/straps.cpp
utl::PDN,
175,
"Pitch {:.4f} is too small for, must be atleast {:.4f}",
"Pitch {:.4f} is too small for {}, must be atleast {:.4f}",

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

There is a minor typo in the error message: "atleast" should be written as two words ("at least").

Suggested change
"Pitch {:.4f} is too small for {}, must be atleast {:.4f}",
"Pitch {:.4f} is too small for {}, must be at least {:.4f}",

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.

1 participant