From fba581f77e6542e438d990a59a5efbc7cf92641e Mon Sep 17 00:00:00 2001 From: Gwenhael Goavec-Merou Date: Thu, 30 Nov 2023 17:46:55 +0100 Subject: [PATCH] build/efinix/ifacewriter: LVDS_RX/Trion: enable static rx delay when delay > 0 --- litex/build/efinix/ifacewriter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/efinix/ifacewriter.py b/litex/build/efinix/ifacewriter.py index 041928713..bbd9a6e01 100644 --- a/litex/build/efinix/ifacewriter.py +++ b/litex/build/efinix/ifacewriter.py @@ -479,7 +479,7 @@ design.create("{2}", "{3}", "./../gateware", overwrite=True) #cmd.append('design.set_property("{}", "RX_FIFO_RD_PIN", "lvds_rx_inst1_RX_FIFO_RD", "{}")'.format(name, block_type)) #cmd.append('design.set_property("{}", "RX_LOCK_PIN", "lvds_rx_inst1_RX_LOCK", "{}")'.format(name, block_type)) else: - rx_delay = "0" + rx_delay = "0" if delay == 0 else "1" cmd.append('design.set_property("{}","RX_EN_DELAY","{}","{}")'.format(name, rx_delay, block_type)) if not (self.platform.family == "Trion" and serdes == 0):