From 1bb3fa861c6de167fb961289084dcc461a89c1e0 Mon Sep 17 00:00:00 2001 From: whitequark Date: Mon, 14 Oct 2019 15:55:11 +0000 Subject: [PATCH] vendor.lattice_ice40: fix commit 88649def. --- nmigen/vendor/lattice_ice40.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nmigen/vendor/lattice_ice40.py b/nmigen/vendor/lattice_ice40.py index e618780..ac52b8e 100644 --- a/nmigen/vendor/lattice_ice40.py +++ b/nmigen/vendor/lattice_ice40.py @@ -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""" -- 2.30.2