From: whitequark Date: Mon, 3 Jun 2019 03:01:56 +0000 (+0000) Subject: vendor.fpga.lattice_ice40: enable SystemVerilog when reading .sv files. X-Git-Tag: locally_working~222 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3327deae92bfcbf78040cf3437c6ef6e1e82c067;p=nmigen.git vendor.fpga.lattice_ice40: enable SystemVerilog when reading .sv files. --- diff --git a/nmigen/vendor/fpga/lattice_ice40.py b/nmigen/vendor/fpga/lattice_ice40.py index 9a8469c..c80076d 100644 --- a/nmigen/vendor/fpga/lattice_ice40.py +++ b/nmigen/vendor/fpga/lattice_ice40.py @@ -51,7 +51,7 @@ class LatticeICE40Platform(TemplatedPlatform): {% if file.endswith(".v") -%} read_verilog {{get_override("read_opts")|join(" ")}} {{file}} {% elif file.endswith(".sv") -%} - read_verilog {{get_override("read_opts")|join(" ")}} {{file}} + read_verilog -sv {{get_override("read_opts")|join(" ")}} {{file}} {% endif %} {% endfor %} read_ilang {{name}}.il