From 41357aba7d6a657163f8be6248f512b5881a5323 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 31 Aug 2023 16:38:50 +0200 Subject: [PATCH] xilinx/vivado: Fix issue with #1755. --- litex/build/xilinx/vivado.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/litex/build/xilinx/vivado.py b/litex/build/xilinx/vivado.py index ef3bcf3188..65f37938ae 100644 --- a/litex/build/xilinx/vivado.py +++ b/litex/build/xilinx/vivado.py @@ -170,9 +170,8 @@ def get_clk_type(clk): True : "ports", }[hasattr(clk, "port")] for clk, [period, name] in sorted(self.clocks.items(), key=lambda x: x[0].duid): - clk_sig = self._vns.get_name(clk) if name is None: - name = clk_sig + name = clk self.platform.add_platform_command( "create_clock -name {name} -period " + str(period) + " [get_" + get_clk_type(clk) + " {clk}]", name=name, clk=clk)