liteeth/mac/core: fix hw_preamble_crc register generation
This commit is contained in:
parent
236ea0f572
commit
6bdf60567c
|
@ -26,6 +26,7 @@ class LiteEthMACCore(Module, AutoCSR):
|
||||||
# to the Ethernet tap.
|
# to the Ethernet tap.
|
||||||
self._hw_preamble_crc = CSRStatus(reset=1)
|
self._hw_preamble_crc = CSRStatus(reset=1)
|
||||||
elif with_hw_preamble_crc:
|
elif with_hw_preamble_crc:
|
||||||
|
self._hw_preamble_crc = CSRStatus(reset=1)
|
||||||
# Preamble insert/check
|
# Preamble insert/check
|
||||||
preamble_inserter = preamble.LiteEthMACPreambleInserter(phy.dw)
|
preamble_inserter = preamble.LiteEthMACPreambleInserter(phy.dw)
|
||||||
preamble_checker = preamble.LiteEthMACPreambleChecker(phy.dw)
|
preamble_checker = preamble.LiteEthMACPreambleChecker(phy.dw)
|
||||||
|
|
Loading…
Reference in New Issue