diff --git a/liteeth/mac/__init__.py b/liteeth/mac/__init__.py index 86da1bb..5658955 100644 --- a/liteeth/mac/__init__.py +++ b/liteeth/mac/__init__.py @@ -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, @@ -74,7 +74,6 @@ class LiteEthMAC(Module, AutoCSR): self.submodules.crossbar = LiteEthMACCrossbar(dw) self.submodules.mac_crossbar = LiteEthMACCoreCrossbar(self.core, self.crossbar, self.interface, dw, hw_mac) else: - assert dw == 32 self.comb += self.interface.source.connect(self.core.sink) self.comb += self.core.source.connect(self.interface.sink)