build/lattice/trellis: fix add_period_constraint signature (missing keep arg)
This commit is contained in:
parent
41357aba7d
commit
fadf47d353
|
@ -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"):
|
||||
|
|
Loading…
Reference in New Issue