From c1885b333fbf607aa111b817dec9b8c7d85c3b92 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 11 Nov 2022 10:06:20 +0100 Subject: [PATCH] build/altera/platform: Don't set keep attribute on clk signal when using add_period_constraints. This was preventing the build with Quartus. --- litex/build/altera/platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/altera/platform.py b/litex/build/altera/platform.py index 87471b58c..4e880f145 100644 --- a/litex/build/altera/platform.py +++ b/litex/build/altera/platform.py @@ -45,7 +45,7 @@ class AlteraPlatform(GenericPlatform): if clk is None: return if hasattr(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): if hasattr(from_, "p"):