core/mac/crc: fix crc_error generation

This commit is contained in:
Florent Kermarrec 2017-11-01 23:23:02 +01:00
parent eaf4acc3f5
commit 26c01a1627
1 changed files with 1 additions and 1 deletions

View File

@ -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",