Skip to content

Commit cbd43dc

Browse files
committed
docs: Tweak new variables
Signed-off-by: Martin Povišer <[email protected]>
1 parent 871cff4 commit cbd43dc

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

docs/user/FlowVariables.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ configuration file.
187187
| <a name="SYNTH_MEMORY_MAX_BITS"></a>SYNTH_MEMORY_MAX_BITS| Maximum number of bits for memory synthesis.| 4096| |
188188
| <a name="SYNTH_MINIMUM_KEEP_SIZE"></a>SYNTH_MINIMUM_KEEP_SIZE| For hierarchical synthesis, we keep modules of larger area than given by this variable and flatten smaller modules. The area unit used is the size of a basic nand2 gate from the platform's standard cell library. The default value is platform specific.| 0| |
189189
| <a name="SYNTH_NETLIST_FILES"></a>SYNTH_NETLIST_FILES| Skips synthesis and uses the supplied netlist files. If the netlist files contains duplicate modules, which can happen when using hierarchical synthesis on indvidual netlist files and combining here, subsequent modules are silently ignored and only the first module is used.| | |
190-
| <a name="SYNTH_USE_SLANG"></a>SYNTH_USE_SLANG| Use yosys-slang for read-in of SystemVerilog design.| | |
190+
| <a name="SYNTH_USE_SLANG"></a>SYNTH_USE_SLANG| Use yosys-slang for read-in of SystemVerilog design.| 0| |
191191
| <a name="SYNTH_WRAPPED_OPERATORS"></a>SYNTH_WRAPPED_OPERATORS| Synthesize multiple architectural options for each arithmetic operator in the design. These options are available for switching among in later stages of the flow.| | |
192192
| <a name="TAPCELL_TCL"></a>TAPCELL_TCL| Path to Endcap and Welltie cells file.| | |
193193
| <a name="TAP_CELL_NAME"></a>TAP_CELL_NAME| Name of the cell to use in tap cell insertion.| | |
@@ -197,7 +197,7 @@ configuration file.
197197
| <a name="TNS_END_PERCENT"></a>TNS_END_PERCENT| Default TNS_END_PERCENT value for post CTS timing repair. Try fixing all violating endpoints by default (reduce to 5% for runtime). Specifies how many percent of violating paths to fix [0-100]. Worst path will always be fixed.| 100| |
198198
| <a name="USE_FILL"></a>USE_FILL| Whether to perform metal density filling.| 0| |
199199
| <a name="VERILOG_DEFINES"></a>VERILOG_DEFINES| Preprocessor defines passed to the language frontend. Example: `-D HPDCACHE_ASSERT_OFF`| | |
200-
| <a name="VERILOG_FILES"></a>VERILOG_FILES| The path to the design Verilog files providing a description of modules.| | |
200+
| <a name="VERILOG_FILES"></a>VERILOG_FILES| The path to the design Verilog/SystemVerilog files providing a description of modules.| | |
201201
| <a name="VERILOG_INCLUDE_DIRS"></a>VERILOG_INCLUDE_DIRS| Specifies the include directories for the Verilog input files.| | |
202202
| <a name="VERILOG_TOP_PARAMS"></a>VERILOG_TOP_PARAMS| Apply toplevel params (if exist).| | |
203203
| <a name="YOSYS_FLAGS"></a>YOSYS_FLAGS| Flags to pass to yosys.| -v 3| |
@@ -220,6 +220,7 @@ configuration file.
220220
- [SYNTH_MEMORY_MAX_BITS](#SYNTH_MEMORY_MAX_BITS)
221221
- [SYNTH_MINIMUM_KEEP_SIZE](#SYNTH_MINIMUM_KEEP_SIZE)
222222
- [SYNTH_NETLIST_FILES](#SYNTH_NETLIST_FILES)
223+
- [SYNTH_USE_SLANG](#SYNTH_USE_SLANG)
223224
- [SYNTH_WRAPPED_OPERATORS](#SYNTH_WRAPPED_OPERATORS)
224225
- [TIEHI_CELL_AND_PORT](#TIEHI_CELL_AND_PORT)
225226
- [TIELO_CELL_AND_PORT](#TIELO_CELL_AND_PORT)
@@ -421,7 +422,6 @@ configuration file.
421422
- [SET_RC_TCL](#SET_RC_TCL)
422423
- [SLEW_MARGIN](#SLEW_MARGIN)
423424
- [SYNTH_ARGS](#SYNTH_ARGS)
424-
- [SYNTH_USE_SLANG](#SYNTH_USE_SLANG)
425425
- [TAP_CELL_NAME](#TAP_CELL_NAME)
426426
- [TECH_LEF](#TECH_LEF)
427427
- [USE_FILL](#USE_FILL)

flow/scripts/synth_preamble.tcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ proc read_design_sources {} {
4343
set vIdirsArgs [join $vIdirsArgs]
4444
}
4545

46-
if {[env_var_exists_and_non_empty SYNTH_USE_SLANG]} {
46+
if {[env_var_equals SYNTH_USE_SLANG 1]} {
4747
# slang requires all files at once
4848
plugin -i slang
4949
yosys read_slang -D SYNTHESIS --keep-hierarchy --compat=vcs \

flow/scripts/variables.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ SYNTH_MEMORY_MAX_BITS:
172172
SYNTH_USE_SLANG:
173173
description: >
174174
Use yosys-slang for read-in of SystemVerilog design.
175+
default: 0
176+
stages:
177+
- synth
175178
SYNTH_BLACKBOXES:
176179
description: >
177180
List of cells treated as a black box by Yosys. With Bazel, this can be used
@@ -572,7 +575,8 @@ DESIGN_NAME:
572575
VERILOG_FILES:
573576
required: true
574577
description: >
575-
The path to the design Verilog files providing a description of modules.
578+
The path to the design Verilog/SystemVerilog files providing a description
579+
of modules.
576580
stages:
577581
- synth
578582
VERILOG_DEFINES:

0 commit comments

Comments
 (0)