Skip to content

Commit 1841ad2

Browse files
authored
Merge pull request #2978 from Pinata-Consulting/makefile-yosys-flags
makefile: YOSYS_FLAGS defaults defined in variables.yaml
2 parents 85d8eab + 5e5387f commit 1841ad2

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

docs/user/FlowVariables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ configuration file.
196196
| <a name="VERILOG_FILES"></a>VERILOG_FILES| The path to the design Verilog files or JSON files providing a description of modules (check `yosys -h write_json` for more details).| | |
197197
| <a name="VERILOG_INCLUDE_DIRS"></a>VERILOG_INCLUDE_DIRS| Specifies the include directories for the Verilog input files.| | |
198198
| <a name="VERILOG_TOP_PARAMS"></a>VERILOG_TOP_PARAMS| Apply toplevel params (if exist).| | |
199-
| <a name="YOSYS_FLAGS"></a>YOSYS_FLAGS| Additional flags to pass to yosys.| | |
199+
| <a name="YOSYS_FLAGS"></a>YOSYS_FLAGS| Flags to pass to yosys.| -v 3| |
200200
## synth variables
201201

202202
- [ABC_AREA](#ABC_AREA)

flow/Makefile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ ifeq (,$(strip $(NUM_CORES)))
207207
endif
208208
export NUM_CORES
209209

210-
YOSYS_FLAGS += -v 3
211-
212210
#-------------------------------------------------------------------------------
213211
# setup all commands used within this flow
214212
export TIME_BIN ?= env time

flow/scripts/variables.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,9 +913,10 @@ RUN_LOG_NAME_STEM:
913913
default: run
914914
YOSYS_FLAGS:
915915
description: >
916-
Additional flags to pass to yosys.
916+
Flags to pass to yosys.
917917
stages:
918918
- synth
919+
default: -v 3
919920
FLOW_VARIANT:
920921
description: >
921922
Flow variant to use, used in the flow variant directory name.

0 commit comments

Comments
 (0)