Skip to content

Commit 241b080

Browse files
authored
Merge pull request #2034 from Pinata-Consulting/makefile-restore-synth-args-intent
Makefile restore synth args intent
2 parents a2f7ea1 + 286c198 commit 241b080

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)