build/lattice/trellis: use --timing-allow-fail to allow generating bistream when...
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 18 Oct 2019 12:12:01 +0000 (14:12 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 18 Oct 2019 12:12:01 +0000 (14:12 +0200)
This is the default behaviour of the others tools and allow testing designs on hardware with small violations.

litex/build/lattice/trellis.py

index 2f7baa9c9dd8304efde4701540083f12acf9cb8a..caf76b170177389f8053ee8dd0d4652b8edc78e7 100644 (file)
@@ -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"
         ]