build/altera/platform: Don't set keep attribute on clk signal when using add_period_constraints.

This was preventing the build with Quartus.
This commit is contained in:
Florent Kermarrec 2022-11-11 10:06:20 +01:00
parent 62e869296f
commit c1885b333f
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ class AlteraPlatform(GenericPlatform):
if clk is None: return if clk is None: return
if hasattr(clk, "p"): if hasattr(clk, "p"):
clk = clk.p clk = clk.p
self.toolchain.add_period_constraint(self, clk, period) self.toolchain.add_period_constraint(self, clk, period, keep=False)
def add_false_path_constraint(self, from_, to): def add_false_path_constraint(self, from_, to):
if hasattr(from_, "p"): if hasattr(from_, "p"):