From c250bb1485e346f95343a6e105568f032a18070a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 4 Apr 2024 13:06:59 +0200 Subject: [PATCH] mac/crc/LiteEthMACCRC32Inserter: Simplify crc.ce logic. --- liteeth/mac/crc.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/liteeth/mac/crc.py b/liteeth/mac/crc.py index 7e37b5c..994046c 100644 --- a/liteeth/mac/crc.py +++ b/liteeth/mac/crc.py @@ -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"),