From e48b269d77567e251d34bd501d8cb390a91ee675 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 10 Mar 2021 10:47:22 +0100 Subject: [PATCH] build/generic_platform: Fix use_default_clk set when not user provided sys_clk. Prevented the default timing constraint to be generated in the timing constraint file. --- litex/build/generic_platform.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/generic_platform.py b/litex/build/generic_platform.py index d1e22a111..31ae6e29c 100644 --- a/litex/build/generic_platform.py +++ b/litex/build/generic_platform.py @@ -342,7 +342,7 @@ class GenericPlatform: "No default clock and no clock domain defined") crg = CRG(self.request(self.default_clk_name)) fragment += crg.get_fragment() - self.user_default_clk = True + self.use_default_clk = True self.do_finalize(fragment, *args, **kwargs) self.finalized = True