From 683e066812cacca097ccb7420fb7632b1fb827be Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 18 Oct 2019 14:12:01 +0200 Subject: [PATCH] build/lattice/trellis: use --timing-allow-fail to allow generating bistream when timings are not met This is the default behaviour of the others tools and allow testing designs on hardware with small violations. --- litex/build/lattice/trellis.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/lattice/trellis.py b/litex/build/lattice/trellis.py index 2f7baa9c9..caf76b170 100644 --- a/litex/build/lattice/trellis.py +++ b/litex/build/lattice/trellis.py @@ -143,7 +143,7 @@ class LatticeTrellisToolchain: self.build_template = [ "yosys -q -l {build_name}.rpt {build_name}.ys", - "nextpnr-ecp5 --json {build_name}.json --lpf {build_name}.lpf --textcfg {build_name}.config --{architecture} --package {package} --freq {freq_constraint}", + "nextpnr-ecp5 --json {build_name}.json --lpf {build_name}.lpf --textcfg {build_name}.config --{architecture} --package {package} --freq {freq_constraint} --timing-allow-fail", "ecppack {build_name}.config --svf {build_name}.svf --bit {build_name}.bit" ]