Skip to content

Fix logic to extract design stage#4286

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

Fix logic to extract design stage#4286
maliberty merged 6 commits into
The-OpenROAD-Project:masterfrom
The-OpenROAD-Project-staging:secure-fix_extract_design

Conversation

@dsengupta0628

@dsengupta0628 dsengupta0628 commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

This design in was at placement stage yet had propagated clocks
There is no set_propagated_clock in the SDC - clocks should be ideal at placement.

But flow/scripts/open.tcl runs set_propagated_clock [all_clocks] whenever design_stage >= 4 (i.e. CTS has run). design_stage comes from extract_stage in flow/scripts/util.tcl, which regex-matched the stage number off the full path:

regexp {/([0-9])_(([0-9])_)?} $input_file ...

For this design the input path is .../SomeCell/4_something/3_place.odb. The regex matched the first /_ in the path - 4_something - not 3_place. So design_stage came out as 4, open.tcl thought CTS had run, and propagated the clocks at placement → CRPR → tag explosion → OOM (or livelock in my case with debug build).

We fix the regexp to give current design stage now

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
@dsengupta0628 dsengupta0628 self-assigned this Jun 10, 2026
gemini-code-assist[bot]

This comment was marked as outdated.

Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
Signed-off-by: dsengupta0628 <dsengupta@precisioninno.com>
@oharboe

oharboe commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

🥳

@maliberty maliberty merged commit 7112b11 into The-OpenROAD-Project:master Jun 11, 2026
8 checks passed
@maliberty maliberty deleted the secure-fix_extract_design branch June 11, 2026 15:10
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.

3 participants