liteeth/mac: use native dw for LiteEthMACWishboneInterface

This is required to support 64-bit wide data paths using the automatic
Wishbone bus width conversion as discussed in
enjoy-digital/liteeth#75. Otherwise, if the MAC data width deviates
from the 32-bit default set previously, received and transmitted
packets will be broken.

Signed-off-by: Leon Schuermann <leon@is.currently.online>
This commit is contained in:
Leon Schuermann 2021-10-13 17:47:28 +02:00
parent 8ecc3ca6d9
commit 540ad8c9dc
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ class LiteEthMAC(Module, AutoCSR):
self.tx_slots = CSRConstant(ntxslots)
self.slot_size = CSRConstant(2**bits_for(eth_mtu))
wishbone_interface = LiteEthMACWishboneInterface(
dw = 32,
dw = dw,
nrxslots = nrxslots,
ntxslots = ntxslots,
endianness = endianness,