Fix OPT_POST_GRT_WNS and disable for some PDKs#4343
Merged
maliberty merged 7 commits intoJul 9, 2026
Merged
Conversation
…ng estimate_parasitics Signed-off-by: Jonas Gava <jfgava@precisioninno.com>
Signed-off-by: Jonas Gava <jfgava@precisioninno.com>
Signed-off-by: Jonas Gava <jfgava@precisioninno.com>
Contributor
There was a problem hiding this comment.
Code Review
This pull request refactors the global routing helper script to execute incremental global routing, detailed placement, and parasitics estimation unconditionally, while restricting the post-repair timing optimization to run conditionally based on the OPT_POST_GRT_WNS environment variable. Additionally, it defines OPT_POST_GRT_WNS as 0 across multiple platform configuration files. The reviewer feedback suggests using the conditional assignment operator ?= instead of = for OPT_POST_GRT_WNS in the platform configuration files to allow design-specific overrides.
maliberty
reviewed
Jul 8, 2026
…ROAD-flow-scripts into secure-fix-wns-opt
Signed-off-by: Jonas Gava <jfgava@precisioninno.com>
Signed-off-by: Jonas Gava <jfgava@precisioninno.com>
maliberty
approved these changes
Jul 9, 2026
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.
There is no need to run vt_swap and reroute for PDKs that don't benefit from it.
In this PR I disabled this optimization for Sky130HD/HS, GF180, Nangate45, IHP-SG13G2.
The reroute move does not account for capacitance, which is more relevant to timing closure on these PDKs.
It is possible to reroute a net to a lower-resistance path, but at significantly higher capacitance, which degrades timing.
Currently, we are missing an estimate_parasitics call before running the additional optimizations.
And as we are not changing placement with Reroute and VtSwap, there is no need for a legalization + incremental GRT post-repair_setup.
This prevents issues with another PR with Reroute move enhancements
designs/sky130hd/microwatt/rules-base.json updates: