Skip to content

Commit

Permalink
phy/k7_1000basex: Connect tx/rx_reset_done.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Jun 13, 2023
1 parent 99d0fd9 commit 381ed30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions liteeth/phy/k7_1000basex.py
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ def __init__(self, refclk_or_clk_pads, data_pads, sys_clk_freq, with_csr=True, r
pll.reset.eq(tx_init.pllreset),
tx_init.plllock.eq(pll.lock),
tx_reset.eq(tx_init.gtXxreset),
tx_init.Xxresetdone.eq(1), # FIXME.
tx_init.Xxresetdone.eq(tx_reset_done),
]
self.sync += tx_mmcm_reset.eq(~pll.lock)
tx_mmcm_reset.attr.add("no_retiming")
Expand All @@ -757,7 +757,7 @@ def __init__(self, refclk_or_clk_pads, data_pads, sys_clk_freq, with_csr=True, r
rx_init.reset.eq(~tx_init.done | self.crg_reset),
rx_init.plllock.eq(pll.lock),
rx_reset.eq(rx_init.gtXxreset),
rx_init.Xxresetdone.eq(1), # FIXME.
rx_init.Xxresetdone.eq(rx_reset_done),
]
ps_restart = PulseSynchronizer("eth_tx", "sys")
self.submodules += ps_restart
Expand Down

0 comments on commit 381ed30

Please sign in to comment.