Skip to content

Commit

Permalink
serwb/core/SERWBCore: Disconnect phy.sink from tx_fifo.source when RX…
Browse files Browse the repository at this point in the history
… signals Wait.
  • Loading branch information
enjoy-digital committed Jul 18, 2024
1 parent 1d4073e commit df718c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liteiclink/serwb/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit df718c2

Please sign in to comment.