Repository navigation
Enable operator mapping to be tuned #4530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -181,6 +181,7 @@ SYNTH_HIERARCHICAL: | |
| stages: | ||
| - synth | ||
| default: 0 | ||
| tunable: 1 | ||
| SYNTH_USE_SYN: | ||
| description: > | ||
| If set to 1, run synthesis using the "syn" tool built into OpenROAD | ||
|
|
@@ -273,6 +274,7 @@ SYNTH_HDL_FRONTEND: | |
| command. | ||
| stages: | ||
| - synth | ||
| tunable: 1 | ||
| SYNTH_SLANG_ARGS: | ||
| description: > | ||
| Additional arguments passed to the slang frontend during synthesis. | ||
|
|
@@ -468,6 +470,7 @@ SYNTH_WRAPPED_OPERATORS: | |
| stages: | ||
| - All stages | ||
| default: 0 | ||
| tunable: 1 | ||
| SYNTH_WRAPPED_ADDERS: | ||
|
Comment on lines
+473
to
474
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Since the goal of this PR is to enable operator mapping to be tuned, the variables Please also apply this change to tunable: 1
SYNTH_WRAPPED_ADDERS:
tunable: 1 |
||
| description: > | ||
| Specify the adder modules that can be used for synthesis, separated by commas. | ||
|
|
@@ -486,6 +489,7 @@ SWAP_ARITH_OPERATORS: | |
| stages: | ||
| - All stages | ||
| default: 0 | ||
| tunable: 1 | ||
| FLOORPLAN_DEF: | ||
| description: | | ||
| Use the DEF file to initialize floorplan. Mutually exclusive with FOOTPRINT or DIE_AREA/CORE_AREA or CORE_UTILIZATION. | ||
|
|
@@ -1589,6 +1593,7 @@ OPENROAD_HIERARCHICAL: | |
| otherwise considered flat. Will eventually be the default and | ||
| this option will be retired. | ||
| default: 0 | ||
| tunable: 1 | ||
| stages: | ||
| - All stages | ||
| NUM_CORES: | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wrapping the
sourcecommand inlog_cmdis inconsistent with how other scripts are sourced in the flow (e.g.,synth_preamble.tclorload.tcl). Additionally,log_cmdonly logs thesourcecommand itself, but does not log the individual Yosys commands executed insidesynth_wrap_operators.tcl(such astechmap,wrapcell,opt, etc.).To maintain consistency and ensure proper logging of the actual synthesis steps, consider leaving the
sourcecommand unwrapped, and instead wrap the major commands insidesynth_wrap_operators.tclwithlog_cmdif detailed logging of those steps is desired.