Skip to content

Commit c0bf8cf

Browse files
authored
Merge pull request #2768 from Pinata-Consulting/variables-add-yosys-flags
variables.yaml: add YOSYS_FLAGS
2 parents 32ae955 + f56f1fe commit c0bf8cf

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/user/FlowVariables.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,7 @@ configuration file.
191191
| <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).| | |
192192
| <a name="VERILOG_INCLUDE_DIRS"></a>VERILOG_INCLUDE_DIRS| Specifies the include directories for the Verilog input files.| | |
193193
| <a name="VERILOG_TOP_PARAMS"></a>VERILOG_TOP_PARAMS| Apply toplevel params (if exist).| | |
194+
| <a name="YOSYS_FLAGS"></a>YOSYS_FLAGS| Additional flags to pass to yosys.| | |
194195
## synth variables
195196

196197
- [ABC_AREA](#ABC_AREA)
@@ -213,6 +214,7 @@ configuration file.
213214
- [VERILOG_FILES](#VERILOG_FILES)
214215
- [VERILOG_INCLUDE_DIRS](#VERILOG_INCLUDE_DIRS)
215216
- [VERILOG_TOP_PARAMS](#VERILOG_TOP_PARAMS)
217+
- [YOSYS_FLAGS](#YOSYS_FLAGS)
216218

217219
## floorplan variables
218220

flow/scripts/variables.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -869,3 +869,8 @@ RUN_LOG_NAME_STEM:
869869
Stem of the log file name, the log file will be named
870870
`$(LOG_DIR)/$(RUN_LOG_NAME_STEM).log`.
871871
default: run
872+
YOSYS_FLAGS:
873+
description: >
874+
Additional flags to pass to yosys.
875+
stages:
876+
- synth

0 commit comments

Comments
 (0)