2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-20 00:46:30 +08:00

drtio: fix link shutdown

This commit is contained in:
Sebastien Bourdeauducq 2016-11-19 11:01:33 +08:00
parent abd1b2a94e
commit 02adae7397

View File

@ -273,5 +273,6 @@ class LinkLayer(Module, AutoCSR):
If(wait_scrambler.done, NextState("READY"))
)
fsm.act("READY",
ready.eq(1)
ready.eq(1),
If(~self.rx_ready, NextState("WAIT_RX_READY"))
)