From 6bdf60567c2e4268037d26c9e1d727508f490dd3 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 19 Mar 2015 13:03:27 +0100 Subject: [PATCH] liteeth/mac/core: fix hw_preamble_crc register generation --- misoclib/com/liteeth/mac/core/__init__.py | 1 + 1 file changed, 1 insertion(+) 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) -- 2.30.2