@@ -319,7 +319,7 @@ class LatticePlatform(TemplatedPlatform):
319
319
* ``verbose``: enables logging of informational messages to standard error.
320
320
* ``read_verilog_opts``: adds options for ``read_verilog`` Yosys command.
321
321
* ``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.
323
323
* ``script_after_synth``: inserts commands after ``synth_<family>`` in Yosys script.
324
324
* ``yosys_opts``: adds extra options for ``yosys``.
325
325
* ``nextpnr_opts``: adds extra options for ``nextpnr-<family>``.
@@ -348,7 +348,7 @@ class LatticePlatform(TemplatedPlatform):
348
348
* ``verbose``: enables logging of informational messages to standard error.
349
349
* ``read_verilog_opts``: adds options for ``read_verilog`` Yosys command.
350
350
* ``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.
352
352
* ``script_after_synth``: inserts commands after ``synth_nexus`` in Yosys script.
353
353
* ``yosys_opts``: adds extra options for ``yosys``.
354
354
* ``nextpnr_opts``: adds extra options for ``nextpnr-nexus``.
@@ -474,9 +474,9 @@ class LatticePlatform(TemplatedPlatform):
474
474
read_verilog -sv {{get_override("read_verilog_opts")|options}} {{file}}
475
475
{% endfor %}
476
476
{% for file in platform.iter_files(".il") -%}
477
- read_ilang {{file}}
477
+ read_rtlil {{file}}
478
478
{% endfor %}
479
- read_ilang {{name}}.il
479
+ read_rtlil {{name}}.il
480
480
{{get_override("script_after_read")|default("# (script_after_read placeholder)")}}
481
481
{% if platform.family == "ecp5" %}
482
482
synth_ecp5 {{get_override("synth_opts")|options}} -top {{name}}
@@ -566,9 +566,9 @@ class LatticePlatform(TemplatedPlatform):
566
566
read_verilog -sv {{get_override("read_verilog_opts")|options}} {{file}}
567
567
{% endfor %}
568
568
{% for file in platform.iter_files(".il") -%}
569
- read_ilang {{file}}
569
+ read_rtlil {{file}}
570
570
{% endfor %}
571
- read_ilang {{name}}.il
571
+ read_rtlil {{name}}.il
572
572
delete w:$verilog_initial_trigger
573
573
{{get_override("script_after_read")|default("# (script_after_read placeholder)")}}
574
574
synth_nexus {{get_override("synth_opts")|options}} -top {{name}}
0 commit comments