mac/crc/LiteEthMACCRC32Inserter: Simplify crc.ce logic.

This commit is contained in:
Florent Kermarrec 2024-04-04 13:06:59 +02:00
parent 3c1f4dbf6c
commit c250bb1485
1 changed files with 0 additions and 3 deletions

View File

@ -194,10 +194,7 @@ class LiteEthMACCRC32Inserter(LiteXModule):
source.last.eq(1),
source.last_be.eq(sink.last_be << (data_width//8 - 4))
),
).Else(
crc.ce.eq(sink.valid & source.ready),
),
If(sink.valid & sink.last & source.ready,
If((data_width == 64) & (sink.last_be <= 0xf),
NextState("IDLE"),