core/mac/crc: fix crc_error generation
This commit is contained in:
parent
eaf4acc3f5
commit
26c01a1627
|
@ -256,7 +256,7 @@ class LiteEthMACCRCChecker(Module):
|
||||||
source.payload.eq(fifo.source.payload),
|
source.payload.eq(fifo.source.payload),
|
||||||
|
|
||||||
source.error.eq(sink.error | crc.error),
|
source.error.eq(sink.error | crc.error),
|
||||||
self.crc_error.eq(sink.last & crc.error),
|
self.crc_error.eq(source.valid & source.last & crc.error),
|
||||||
]
|
]
|
||||||
|
|
||||||
fsm.act("RESET",
|
fsm.act("RESET",
|
||||||
|
|
Loading…
Reference in New Issue