build/efinix/ifacewriter: LVDS_RX/Trion: enable static rx delay when delay > 0

This commit is contained in:
Gwenhael Goavec-Merou 2023-11-30 17:46:55 +01:00
parent cba58a0e36
commit fba581f77e
1 changed files with 1 additions and 1 deletions

View File

@ -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_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)) #cmd.append('design.set_property("{}", "RX_LOCK_PIN", "lvds_rx_inst1_RX_LOCK", "{}")'.format(name, block_type))
else: 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)) cmd.append('design.set_property("{}","RX_EN_DELAY","{}","{}")'.format(name, rx_delay, block_type))
if not (self.platform.family == "Trion" and serdes == 0): if not (self.platform.family == "Trion" and serdes == 0):