From df718c27bd8ba2e85e2a99812d6c5a7e6cda57ce Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 18 Jul 2024 18:45:54 +0200 Subject: [PATCH] serwb/core/SERWBCore: Disconnect phy.sink from tx_fifo.source when RX signals Wait. --- liteiclink/serwb/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/liteiclink/serwb/core.py b/liteiclink/serwb/core.py index 1a35f31..40bb5dc 100644 --- a/liteiclink/serwb/core.py +++ b/liteiclink/serwb/core.py @@ -54,7 +54,7 @@ def __init__(self, phy, clk_freq, mode, with_rst_on_link_down=True, port=0, self.comb += [ # Core -> PHY. packetizer.source.connect(tx_fifo.sink), - tx_fifo.source.connect(phy.sink), + If(~phy.serdes.rx.datapath.wait, tx_fifo.source.connect(phy.sink)), # PHY -> Core. phy.source.connect(rx_fifo.sink),