File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ proc read_design_sources { } {
4747 # slang requires all files at once
4848 plugin -i slang
4949 yosys read_slang -D SYNTHESIS --keep-hierarchy --compat=vcs \
50- --ignore-assertions --no-implicit-memories --top $::env(DESIGN_NAME) \
50+ --ignore-assertions {*} $::env(SYNTH_SLANG_ARGS) --top $::env(DESIGN_NAME) \
5151 {*}$vIdirsArgs {*}$::env(VERILOG_FILES) {*}[env_var_or_empty VERILOG_DEFINES]
5252 # Workaround for yosys-slang#119
5353 setattr -unset init
Original file line number Diff line number Diff line change @@ -184,6 +184,12 @@ SYNTH_HDL_FRONTEND:
184184 command.
185185 stages :
186186 - synth
187+ SYNTH_SLANG_ARGS :
188+ description : >
189+ Additional arguments passed to the slang frontend during synthesis.
190+ stages :
191+ - synth
192+ default : " "
187193SYNTH_BLACKBOXES :
188194 description : >
189195 List of cells treated as a black box by Yosys. With Bazel, this can be used
You can’t perform that action at this time.
0 commit comments