dbSta: SpefReader name-escape regression for DEF+SPEF flow + OpenSTA submodule bump#10298
Merged
maliberty merged 6 commits intoMay 1, 2026
Conversation
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
Contributor
There was a problem hiding this comment.
Code Review
This pull request adds a regression test, spef_def_names, to verify SpefReader name-escape lookups for netlists defined in DEF files. The update includes new test assets (DEF, SPEF, TCL), expected output, and build system integration in BUILD and CMakeLists.txt, alongside a subproject commit update for sta. The reviewer recommended sorting the test lists alphabetically in the build files to enhance maintainability.
| "sta3", | ||
| "sta4", | ||
| "sta5", | ||
| "spef_def_names", |
Contributor
| sta3 | ||
| sta4 | ||
| sta5 | ||
| spef_def_names |
Contributor
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
maliberty
approved these changes
Apr 30, 2026
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
Contributor
|
clang-tidy review says "All clean, LGTM! 👍" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bumps the OpenSTA submodule to pick up
The-OpenROAD-Project/OpenSTA#356 ,
which adds flat-name fallbacks in
SpefReader::findInstanceRelative/findNetRelative.Adds a regression in
src/dbSta/test/that exercises the fix end-to-end.Motivation
read_deffollowed byread_spefproduces hundreds to thousands ofspurious
STA-1648 instance ... not foundandSTA-1650 net ... not foundwarnings on real designs whose flat netlist contains:/in the leaf(e.g.
u_sx1_iq/g1496206), where OpenDB stores the verbatim DEFstring but
Network::findInstanceRelativeinterprets the/as ahierarchy boundary;
bus[0]) where OpenDB stores[0]literally but theSPEF writer follows the SPEF grammar and emits
bus\[0\].On a customer testcase (~772k components), this accounted for >1k
spurious STA-1648 warnings; the upstream fix drops that to zero.
Type of Change
Impact
[How does this change the tool's behavior?]
Verification
./etc/Build.sh).Related Issues
[Link issues here]