Variables sweep#4141
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
There was a problem hiding this comment.
Code Review
This pull request introduces and documents a wide range of new flow variables for the OpenROAD flow, updating FlowVariables.md and variables.yaml. The review feedback highlights several improvement opportunities, including clarifying case sensitivity for corner-specific variables, addressing redundancies between SETUP_MOVE_SEQUENCE and SETUP_REPAIR_SEQUENCE, and resolving naming confusion between similar variables like DFF_LIB_FILE and SYNTH_KEPT_MODULES. Additionally, the reviewer pointed out that CTS_BUF_CELL lacks integration in the synthesis scripts.
| CORNERS: | ||
| description: > | ||
| List of timing corner names for multi-corner analysis (e.g. "slow fast"). | ||
| When set, liberty files are loaded per corner using [CORNER]_LIB_FILES | ||
| environment variables and timing models are generated per corner. | ||
| stages: | ||
| - All stages |
| SETUP_MOVE_SEQUENCE: | ||
| description: > | ||
| Passed as -sequence to repair_timing. This should be a string of move | ||
| keywords separated by commas. | ||
| stages: | ||
| - cts | ||
| - floorplan | ||
| - grt |
There was a problem hiding this comment.
There was a problem hiding this comment.
This appears to be a pre-existing bug but please just remove SETUP_REPAIR_SEQUENCE as it isn't connected to anything.
| DFF_LIB_FILE: | ||
| description: > | ||
| Single Liberty file for flip-flop technology mapping (dfflibmap) during | ||
| synthesis. Takes precedence over DFF_MAP_FILE when set. | ||
| stages: | ||
| - synth |
There was a problem hiding this comment.
There was a problem hiding this comment.
It appears DFF_LIB_FILES was misnamed and just should be renamed to DFF_LIB_FILE
| SYNTH_KEPT_MODULES: | ||
| description: > | ||
| Space-separated list of modules to keep as separate hierarchies during | ||
| synthesis. Unlike the automatic size-based discovery | ||
| (SYNTH_MINIMUM_KEEP_SIZE), the list of kept modules is known statically, | ||
| which enables build systems to synthesize them in parallel. | ||
| stages: | ||
| - synth |
There was a problem hiding this comment.
SYNTH_KEPT_MODULES is very similar in name to SYNTH_KEEP_MODULES. While the description mentions parallel synthesis for build systems, SYNTH_KEEP_MODULES is the one currently used in synth.tcl to preserve hierarchy. This naming similarity can cause confusion; consider merging them or using more distinct names to clarify their roles.
| CTS_BUF_CELL: | ||
| description: | | ||
| Single cell name for clock tree buffer insertion. | ||
| stages: | ||
| - cts |
There was a problem hiding this comment.
CTS_BUF_LIST is already there, what is this?
|
Agreed with various gemini comments above |
Not connected to anything in the codebase. Only SETUP_MOVE_SEQUENCE is used (in util.tcl). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
DFF_LIB_FILES (plural) was never used. The actual variable is DFF_LIB_FILE (singular), used in synth.tcl for dfflibmap. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
The actual variable used in synth.tcl is SYNTH_KEEP_MODULES, which is already documented. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Not used anywhere in the codebase. CTS_BUF_LIST is the variable used in cts.tcl and is already documented. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
read_liberty.tcl uppercases the corner name via [string toupper], so "slow" maps to SLOW_LIB_FILES. Document this to remove ambiguity. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
|
@maliberty reduce scope to make it paletable. We can refine the rest later in seperate PRs. |
No description provided.