From: Florent Kermarrec Date: Thu, 19 Mar 2015 12:03:27 +0000 (+0100) Subject: liteeth/mac/core: fix hw_preamble_crc register generation X-Git-Tag: 24jan2021_ls180~2475 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bdf60567c2e4268037d26c9e1d727508f490dd3;p=litex.git liteeth/mac/core: fix hw_preamble_crc register generation --- diff --git a/misoclib/com/liteeth/mac/core/__init__.py b/misoclib/com/liteeth/mac/core/__init__.py index e30a8ced..f57cada2 100644 --- a/misoclib/com/liteeth/mac/core/__init__.py +++ b/misoclib/com/liteeth/mac/core/__init__.py @@ -26,6 +26,7 @@ class LiteEthMACCore(Module, AutoCSR): # to the Ethernet tap. self._hw_preamble_crc = CSRStatus(reset=1) elif with_hw_preamble_crc: + self._hw_preamble_crc = CSRStatus(reset=1) # Preamble insert/check preamble_inserter = preamble.LiteEthMACPreambleInserter(phy.dw) preamble_checker = preamble.LiteEthMACPreambleChecker(phy.dw)