Skip to content

Commit 286c198

Browse files
committed
makefile: restore intent of SYNTH_ARGS, normally adjusted by user
SYNTH_OPERATIONS_ARGS is not normally adjusted by the user. This restores the intent of SYNTH_ARGS usage in genMassive.py, scripts/sc/targets/*_orflow.py and also the bazel-orfs use-case. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 322f920 commit 286c198

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

flow/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,11 @@ export RESYNTH_AREA_RECOVER ?= 0
189189
export RESYNTH_TIMING_RECOVER ?= 0
190190
export ABC_AREA ?= 0
191191

192-
# Global setting for Synthesis
193-
export SYNTH_ARGS ?= -flatten -extra-map $(FLOW_HOME)/platforms/common/lcu_kogge_stone.v
192+
# User adjustable synthesis arguments
193+
export SYNTH_ARGS ?= -flatten
194+
# Not normally adjusted by user
195+
export SYNTH_OPERATIONS_ARGS ?= -extra-map $(FLOW_HOME)/platforms/common/lcu_kogge_stone.v
196+
export SYNTH_FULL_ARGS ?= $(SYNTH_ARGS) $(SYNTH_OPERATIONS_ARGS)
194197

195198
# Global setting for Floorplan
196199
export PLACE_PINS_ARGS

flow/scripts/synth.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ if { [info exist ::env(SYNTH_GUT)] && $::env(SYNTH_GUT) == 1 } {
1212
delete $::env(DESIGN_NAME)/c:*
1313
}
1414

15-
synthesize_check $::env(SYNTH_ARGS)
15+
synthesize_check $::env(SYNTH_FULL_ARGS)
1616

1717
if { [info exists ::env(USE_LSORACLE)] } {
1818
set lso_script [open $::env(OBJECTS_DIR)/lso.script w]

0 commit comments

Comments
 (0)