Skip to content

Commit

Permalink
vendor.lattice_ice40: fix commit 88649de.
Browse files Browse the repository at this point in the history
whitequark committed Oct 14, 2019
1 parent b3a8a43 commit 1bb3fa8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions nmigen/vendor/lattice_ice40.py
Original file line number Diff line number Diff line change
@@ -132,7 +132,7 @@ class LatticeICE40Platform(TemplatedPlatform):
set_io {{port_name}} {{pin_name}}
{% endfor %}
{% for signal, frequency in platform.iter_clock_constraints() -%}
set_frequency "{{signal|hierarchy(".")}}" {{frequency/1000000}}
set_frequency {{signal|hierarchy(".")}} {{frequency/1000000}}
{% endfor%}
{{get_override("add_constraints")|default("# (add_constraints placeholder)")}}
""",
@@ -155,7 +155,6 @@ class LatticeICE40Platform(TemplatedPlatform):
{{platform.package|lower}}{{platform._nextpnr_package_options[platform.device]}}
--json {{name}}.json
--pcf {{name}}.pcf
--pre-pack {{name}}_pre_pack.py
--asc {{name}}.asc
""",
r"""

0 comments on commit 1bb3fa8

Please sign in to comment.