Skip to content

Commit ed7902e

Browse files
committed
Replace SYNTH_USE_SLANG with SYNTH_HDL_FRONTEND
Signed-off-by: Martin Povišer <[email protected]>
1 parent aeadf19 commit ed7902e

File tree

13 files changed

+20
-17
lines changed

13 files changed

+20
-17
lines changed

docs/user/FlowVariables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,12 +182,12 @@ configuration file.
182182
| <a name="SYNTH_ARGS"></a>SYNTH_ARGS| Optional synthesis variables for yosys.| -flatten| |
183183
| <a name="SYNTH_BLACKBOXES"></a>SYNTH_BLACKBOXES| List of cells treated as a black box by Yosys. With Bazel, this can be used to run synthesis in parallel for the large modules of the design.| | |
184184
| <a name="SYNTH_GUT"></a>SYNTH_GUT| Load design and remove all internal logic before doing synthesis. This is useful when creating a mock .lef abstract that has a smaller area than the amount of logic would allow. bazel-orfs uses this to mock SRAMs, for instance.| | |
185+
| <a name="SYNTH_HDL_FRONTEND"></a>SYNTH_HDL_FRONTEND| Select an alternative language frontend to ingest the design. Available option is "slang". If the variable is empty, design is read with the Yosys read_verilog command.| | |
185186
| <a name="SYNTH_HIERARCHICAL"></a>SYNTH_HIERARCHICAL| Enable to Synthesis hierarchically, otherwise considered flat synthesis.| 0| |
186187
| <a name="SYNTH_KEEP_MODULES"></a>SYNTH_KEEP_MODULES| Mark modules to keep from getting removed in flattening.| | |
187188
| <a name="SYNTH_MEMORY_MAX_BITS"></a>SYNTH_MEMORY_MAX_BITS| Maximum number of bits for memory synthesis.| 4096| |
188189
| <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| |
189190
| <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.| 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.| | |
@@ -215,12 +215,12 @@ configuration file.
215215
- [SDC_GUT](#SDC_GUT)
216216
- [SYNTH_BLACKBOXES](#SYNTH_BLACKBOXES)
217217
- [SYNTH_GUT](#SYNTH_GUT)
218+
- [SYNTH_HDL_FRONTEND](#SYNTH_HDL_FRONTEND)
218219
- [SYNTH_HIERARCHICAL](#SYNTH_HIERARCHICAL)
219220
- [SYNTH_KEEP_MODULES](#SYNTH_KEEP_MODULES)
220221
- [SYNTH_MEMORY_MAX_BITS](#SYNTH_MEMORY_MAX_BITS)
221222
- [SYNTH_MINIMUM_KEEP_SIZE](#SYNTH_MINIMUM_KEEP_SIZE)
222223
- [SYNTH_NETLIST_FILES](#SYNTH_NETLIST_FILES)
223-
- [SYNTH_USE_SLANG](#SYNTH_USE_SLANG)
224224
- [SYNTH_WRAPPED_OPERATORS](#SYNTH_WRAPPED_OPERATORS)
225225
- [TIEHI_CELL_AND_PORT](#TIEHI_CELL_AND_PORT)
226226
- [TIELO_CELL_AND_PORT](#TIELO_CELL_AND_PORT)

flow/designs/asap7/cva6/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,4 @@ export PLACE_DENSITY = 0.50
193193
export SKIP_LAST_GASP ?= 1
194194

195195

196-
export SYNTH_USE_SLANG = 1
196+
export SYNTH_HDL_FRONTEND = slang

flow/designs/asap7/ibex/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME)/src/ibex_sv/*.sv)) \
99
export VERILOG_INCLUDE_DIRS = \
1010
$(DESIGN_HOME)/src/ibex_sv/vendor/lowrisc_ip/prim/rtl/
1111

12-
export SYNTH_USE_SLANG = 1
12+
export SYNTH_HDL_FRONTEND = slang
1313

1414
# if FLOW_VARIANT == pos_slack, use an SDC file that has a larger clock
1515
# resulting in positive slack

flow/designs/gf12/ibex/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME)/src/ibex_sv/*.sv)) \
88
export VERILOG_INCLUDE_DIRS = \
99
$(DESIGN_HOME)/src/ibex_sv/vendor/lowrisc_ip/prim/rtl/
1010

11-
export SYNTH_USE_SLANG = 1
11+
export SYNTH_HDL_FRONTEND = slang
1212

1313
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/constraint.sdc
1414

flow/designs/gf180/ibex/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME)/src/ibex_sv/*.sv)) \
88
export VERILOG_INCLUDE_DIRS = \
99
$(DESIGN_HOME)/src/ibex_sv/vendor/lowrisc_ip/prim/rtl/
1010

11-
export SYNTH_USE_SLANG = 1
11+
export SYNTH_HDL_FRONTEND = slang
1212

1313
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/constraint.sdc
1414

flow/designs/ihp-sg13g2/ibex/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME)/src/ibex_sv/*.sv)) \
88
export VERILOG_INCLUDE_DIRS = \
99
$(DESIGN_HOME)/src/ibex_sv/vendor/lowrisc_ip/prim/rtl/
1010

11-
export SYNTH_USE_SLANG = 1
11+
export SYNTH_HDL_FRONTEND = slang
1212

1313
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/constraint.sdc
1414

flow/designs/intel16/ibex/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME)/src/ibex_sv/*.sv)) \
1010
export VERILOG_INCLUDE_DIRS = \
1111
$(DESIGN_HOME)/src/ibex_sv/vendor/lowrisc_ip/prim/rtl/
1212

13-
export SYNTH_USE_SLANG = 1
13+
export SYNTH_HDL_FRONTEND = slang
1414

1515
export SDC_FILE = $(DESIGN_DIR)/constraint.sdc
1616

flow/designs/nangate45/ibex/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME)/src/ibex_sv/*.sv)) \
88
export VERILOG_INCLUDE_DIRS = \
99
$(DESIGN_HOME)/src/ibex_sv/vendor/lowrisc_ip/prim/rtl/
1010

11-
export SYNTH_USE_SLANG = 1
11+
export SYNTH_HDL_FRONTEND = slang
1212

1313
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/constraint.sdc
1414

flow/designs/nangate45/mempool_group/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,4 +77,4 @@ export CORE_AREA = 10 12 1090 1090
7777

7878
export MACRO_PLACE_HALO = 10 10
7979

80-
export SYNTH_USE_SLANG = 1
80+
export SYNTH_HDL_FRONTEND = slang

flow/designs/sky130hd/ibex/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME)/src/ibex_sv/*.sv)) \
88
export VERILOG_INCLUDE_DIRS = \
99
$(DESIGN_HOME)/src/ibex_sv/vendor/lowrisc_ip/prim/rtl/
1010

11-
export SYNTH_USE_SLANG = 1
11+
export SYNTH_HDL_FRONTEND = slang
1212

1313
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/$(DESIGN_NICKNAME)/constraint.sdc
1414

0 commit comments

Comments
 (0)