forked from M-Labs/artiq
serwb/phy/master: fix slave ready detection by filtering possible glitches on rx data (seems to happen when RTM fpga is not loaded)
This commit is contained in:
parent
5a683ddd1f
commit
64c8eee28d
|
@ -58,7 +58,10 @@ class _SerdesMasterInit(Module):
|
|||
)
|
||||
fsm.act("SEND_PATTERN",
|
||||
If(~serdes.rx_idle,
|
||||
NextState("WAIT_STABLE")
|
||||
timer.wait.eq(1),
|
||||
If(timer.done,
|
||||
NextState("CHECK_PATTERN")
|
||||
)
|
||||
),
|
||||
serdes.tx_comma.eq(1)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue