drtio: fix link_layer remote RX ready detection

This commit is contained in:
Sebastien Bourdeauducq 2016-11-03 20:15:04 +08:00
parent 1d027ffa95
commit 6a75837261

View File

@ -202,7 +202,7 @@ class LinkLayerRX(Module):
).Elif(decoders[0].d != K(28, 7),
self.remote_rx_ready.eq(0)
),
If(decoders[0].d == K(30, 7),
If(decoders[1].d == K(30, 7),
self.remote_rx_ready.eq(1)
) if len(decoders) > 1 else None
).Else(