build/lattice/trellis: fix add_period_constraint signature (missing keep arg)

This commit is contained in:
Gwenhael Goavec-Merou 2023-08-31 16:52:48 +02:00
parent 41357aba7d
commit fadf47d353
1 changed files with 1 additions and 1 deletions

View File

@ -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"):