From fadf47d353abb56c072e6a6822f4c93db3ab8c52 Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Thu, 31 Aug 2023 16:52:48 +0200 Subject: [PATCH] build/lattice/trellis: fix add_period_constraint signature (missing keep arg) --- 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 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"):