projects
/
nmigen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f417725
)
vendor.fpga.lattice_ice40: enable SystemVerilog when reading .sv files.
author
whitequark
<whitequark@whitequark.org>
Mon, 3 Jun 2019 03:01:56 +0000
(
03:01
+0000)
committer
whitequark
<whitequark@whitequark.org>
Mon, 3 Jun 2019 03:01:56 +0000
(
03:01
+0000)
nmigen/vendor/fpga/lattice_ice40.py
patch
|
blob
|
history
diff --git
a/nmigen/vendor/fpga/lattice_ice40.py
b/nmigen/vendor/fpga/lattice_ice40.py
index 9a8469c523e99e6595ecd45f84f10a107d06de2d..c80076d1c26ec8d70ea03518ceedeeda0e80f04d 100644
(file)
--- 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