From 7aac228690814e0b9ea85efc11a3806f1a323574 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 8 Nov 2021 19:39:05 +0100 Subject: [PATCH] cores/clock/efinix_trion: Revert use of name as clk_out_name when specified. --- litex/soc/cores/clock/efinix_trion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/cores/clock/efinix_trion.py b/litex/soc/cores/clock/efinix_trion.py index 0f9b1aa77..a9b731e04 100644 --- a/litex/soc/cores/clock/efinix_trion.py +++ b/litex/soc/cores/clock/efinix_trion.py @@ -83,7 +83,7 @@ class TRIONPLL(Module): def create_clkout(self, cd, freq, phase=0, margin=1e-2, name="", with_reset=False): assert self.nclkouts < self.nclkouts_max - clk_out_name = "{}_CLKOUT{}".format(self.pll_name, self.nclkouts) + clk_out_name = "{}_CLKOUT{}".format(self.pll_name, self.nclkouts) if name == "" else name if cd is not None: self.platform.add_extension([(clk_out_name, 0, Pins(1))])