Added missing changes from previous commit.

This commit is contained in:
Aram Kostanyan 2022-01-17 19:42:40 +05:00
parent 2b008177e7
commit fb2e4377c8
2 changed files with 8 additions and 3 deletions

View File

@ -265,6 +265,11 @@ Synthesis Parameter Sections
the source Verilog design for ``bench_label`` benchmark to be used
while verification.
.. option:: bench<bench_label>_read_verilog_options=<Options>
This option defines the ``read_verilog`` command options for ``bench_label`` benchmark.
If all benchmarks share the same options then ``bench_read_verilog_options_common`` can be used to define common options.
Script Parameter Sections
^^^^^^^^^^^^^^^^^^^^^^^^^
The script parameter section lists set of commnad line pararmeters to be passed to :ref:`run_fpga_flow` script. The section name is defines as ``SCRIPT_PARAM_<parameter_set_label>`` where `parameter_set_label` can be any word without white spaces.

View File

@ -531,9 +531,9 @@ def create_yosys_params():
shlex.quote(eachdir) for eachdir in ys_params["VERIFIC_LIBRARY_DIR"].split(",")])
try:
for param, value in ys_params.items():
if param.startswith("LIB_NAME"):
index = param[len("LIB_NAME"):]
src_param = "LIB_SRC" + index
if param.startswith("VERIFIC_READ_LIB_NAME"):
index = param[len("VERIFIC_READ_LIB_NAME"):]
src_param = "VERIFIC_READ_LIB_SRC" + index
if src_param in ys_params:
src_files = []
for name in ys_params[src_param].split(","):