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:
parent
8ecc3ca6d9
commit
540ad8c9dc
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue