diff --git a/litex/build/lattice/trellis.py b/litex/build/lattice/trellis.py index 2651f62af..80c5a0fcc 100644 --- a/litex/build/lattice/trellis.py +++ b/litex/build/lattice/trellis.py @@ -145,7 +145,7 @@ class LatticeTrellisToolchain(YosysNextPNRToolchain): "lfe5um5g-85f": "um5g-85k", } - def add_period_constraint(self, platform, clk, period, name=None): + def add_period_constraint(self, platform, clk, period, keep=True, name=None): if clk is None: return if hasattr(clk, "p"):