Skip to content

Commit ef7fbfb

Browse files
authored
Merge pull request #4530 from The-OpenROAD-Project-staging/operator-mapping-at
Enable operator mapping to be tuned
2 parents d26bf27 + 255cdd1 commit ef7fbfb

4 files changed

Lines changed: 18 additions & 8 deletions

File tree

‎flow/scripts/resize.tcl‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ if { [env_var_exists_and_non_empty EARLY_SIZING_CAP_RATIO] } {
1818
if { [env_var_equals SWAP_ARITH_OPERATORS 1] } {
1919
# Enable sanity checker until replace_arith_modules becomes stable
2020
set_debug_level ODB replace_design_check_sanity 1
21-
replace_arith_modules
22-
global_placement -incremental
21+
log_cmd replace_arith_modules
22+
log_cmd global_placement -incremental
2323
}
2424

2525
repair_design_helper

‎flow/scripts/synth.tcl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ if {
190190
[env_var_equals SYNTH_WRAPPED_OPERATORS 1] ||
191191
[env_var_equals SWAP_ARITH_OPERATORS 1]
192192
} {
193-
source $::env(SCRIPTS_DIR)/synth_wrap_operators.tcl
193+
log_cmd source $::env(SCRIPTS_DIR)/synth_wrap_operators.tcl
194194
} else {
195195
synth -top $::env(DESIGN_NAME) -run fine: -noabc {*}$synth_full_args
196196
}

‎flow/scripts/variables.json‎

Lines changed: 10 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎flow/scripts/variables.yaml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ SYNTH_HIERARCHICAL:
181181
stages:
182182
- synth
183183
default: 0
184+
tunable: 1
184185
SYNTH_USE_SYN:
185186
description: >
186187
If set to 1, run synthesis using the "syn" tool built into OpenROAD
@@ -273,6 +274,7 @@ SYNTH_HDL_FRONTEND:
273274
command.
274275
stages:
275276
- synth
277+
tunable: 1
276278
SYNTH_SLANG_ARGS:
277279
description: >
278280
Additional arguments passed to the slang frontend during synthesis.
@@ -468,6 +470,7 @@ SYNTH_WRAPPED_OPERATORS:
468470
stages:
469471
- All stages
470472
default: 0
473+
tunable: 1
471474
SYNTH_WRAPPED_ADDERS:
472475
description: >
473476
Specify the adder modules that can be used for synthesis, separated by commas.
@@ -486,6 +489,7 @@ SWAP_ARITH_OPERATORS:
486489
stages:
487490
- All stages
488491
default: 0
492+
tunable: 1
489493
FLOORPLAN_DEF:
490494
description: |
491495
Use the DEF file to initialize floorplan. Mutually exclusive with FOOTPRINT or DIE_AREA/CORE_AREA or CORE_UTILIZATION.
@@ -1594,6 +1598,7 @@ OPENROAD_HIERARCHICAL:
15941598
otherwise considered flat. Will eventually be the default and
15951599
this option will be retired.
15961600
default: 0
1601+
tunable: 1
15971602
stages:
15981603
- All stages
15991604
NUM_CORES:

0 commit comments

Comments
 (0)