@@ -319,7 +319,7 @@ class LatticePlatform(TemplatedPlatform):
319319 * ``verbose``: enables logging of informational messages to standard error.
320320 * ``read_verilog_opts``: adds options for ``read_verilog`` Yosys command.
321321 * ``synth_opts``: adds options for ``synth_<family>`` Yosys command.
322- * ``script_after_read``: inserts commands after ``read_ilang `` in Yosys script.
322+ * ``script_after_read``: inserts commands after ``read_rtlil `` in Yosys script.
323323 * ``script_after_synth``: inserts commands after ``synth_<family>`` in Yosys script.
324324 * ``yosys_opts``: adds extra options for ``yosys``.
325325 * ``nextpnr_opts``: adds extra options for ``nextpnr-<family>``.
@@ -348,7 +348,7 @@ class LatticePlatform(TemplatedPlatform):
348348 * ``verbose``: enables logging of informational messages to standard error.
349349 * ``read_verilog_opts``: adds options for ``read_verilog`` Yosys command.
350350 * ``synth_opts``: adds options for ``synth_nexus`` Yosys command.
351- * ``script_after_read``: inserts commands after ``read_ilang `` in Yosys script.
351+ * ``script_after_read``: inserts commands after ``read_rtlil `` in Yosys script.
352352 * ``script_after_synth``: inserts commands after ``synth_nexus`` in Yosys script.
353353 * ``yosys_opts``: adds extra options for ``yosys``.
354354 * ``nextpnr_opts``: adds extra options for ``nextpnr-nexus``.
@@ -474,9 +474,9 @@ class LatticePlatform(TemplatedPlatform):
474474 read_verilog -sv {{get_override("read_verilog_opts")|options}} {{file}}
475475 {% endfor %}
476476 {% for file in platform.iter_files(".il") -%}
477- read_ilang {{file}}
477+ read_rtlil {{file}}
478478 {% endfor %}
479- read_ilang {{name}}.il
479+ read_rtlil {{name}}.il
480480 {{get_override("script_after_read")|default("# (script_after_read placeholder)")}}
481481 {% if platform.family == "ecp5" %}
482482 synth_ecp5 {{get_override("synth_opts")|options}} -top {{name}}
@@ -566,9 +566,9 @@ class LatticePlatform(TemplatedPlatform):
566566 read_verilog -sv {{get_override("read_verilog_opts")|options}} {{file}}
567567 {% endfor %}
568568 {% for file in platform.iter_files(".il") -%}
569- read_ilang {{file}}
569+ read_rtlil {{file}}
570570 {% endfor %}
571- read_ilang {{name}}.il
571+ read_rtlil {{name}}.il
572572 delete w:$verilog_initial_trigger
573573 {{get_override("script_after_read")|default("# (script_after_read placeholder)")}}
574574 synth_nexus {{get_override("synth_opts")|options}} -top {{name}}
0 commit comments