drtio: fix link shutdown

This commit is contained in:
Sebastien Bourdeauducq 2016-11-19 11:01:33 +08:00
parent abd1b2a94e
commit 02adae7397
1 changed files with 2 additions and 1 deletions

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"))
)