Skip to content

fix: use stat -hierarchy for hierarchical synth to report area#4109

Merged
maliberty merged 3 commits intoThe-OpenROAD-Project:masterfrom
oharboe:fix/hierarchical-synth-stat
Apr 14, 2026
Merged

fix: use stat -hierarchy for hierarchical synth to report area#4109
maliberty merged 3 commits intoThe-OpenROAD-Project:masterfrom
oharboe:fix/hierarchical-synth-stat

Conversation

@oharboe
Copy link
Copy Markdown
Collaborator

@oharboe oharboe commented Apr 4, 2026

When SYNTH_HIERARCHICAL=1, the yosys stat command reports zero area for the top module because all cells are in submodules. Adding -hierarchy makes stat include submodule area, so
synth__design__instance__area__stdcell is no longer N/A.

When SYNTH_HIERARCHICAL=1, the yosys stat command reports zero area
for the top module because all cells are in submodules. Adding
-hierarchy makes stat include submodule area, so
synth__design__instance__area__stdcell is no longer N/A.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@oharboe
Copy link
Copy Markdown
Collaborator Author

oharboe commented Apr 5, 2026

@maliberty I think there is a problem on pr-merge:

08:18:14  [ERROR PSM-0069] Check connectivity failed on VDD.

There is no harm in always using -hierarchy flag. It reports the
same results for flat designs and correctly includes submodule area
for hierarchical designs.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
@oharboe oharboe requested a review from maliberty April 7, 2026 19:38
@oharboe
Copy link
Copy Markdown
Collaborator Author

oharboe commented Apr 7, 2026

@maliberty Looks like some pr-merge instability that we've been seeing.

@oharboe
Copy link
Copy Markdown
Collaborator Author

oharboe commented Apr 9, 2026

@maliberty Ping?

@maliberty
Copy link
Copy Markdown
Member

This does break genMetrics so it will need some attention.

@oharboe
Copy link
Copy Markdown
Collaborator Author

oharboe commented Apr 12, 2026

This does break genMetrics so it will need some attention.

Makes sense. Should I file a feature request or is it adequately tracked here?

This is part of the grander plan of getting rid of docker + supporting config.mk DSL (i.e. bazel build for all designs in ORFS).

Not enormously urgent, but nice to have chalked off. Will bubble its way to the top of the list eventually...

@maliberty
Copy link
Copy Markdown
Member

this is sufficient

…hical

Signed-off-by: Matt Liberty <mliberty@precisioninno.com>
@maliberty maliberty enabled auto-merge April 13, 2026 22:06
@maliberty maliberty merged commit a6cc418 into The-OpenROAD-Project:master Apr 14, 2026
8 of 9 checks passed
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