diff --git a/liteeth/mac/__init__.py b/liteeth/mac/__init__.py index b2bf511..55356c9 100644 --- a/liteeth/mac/__init__.py +++ b/liteeth/mac/__init__.py @@ -37,7 +37,7 @@ class LiteEthMAC(Module, AutoCSR): self.rx_slots = CSRConstant(nrxslots) self.tx_slots = CSRConstant(ntxslots) self.slot_size = CSRConstant(2**bits_for(eth_mtu)) - self.submodules.interface = LiteEthMACWishboneInterface(32, nrxslots, ntxslots, endianness) + self.submodules.interface = FullMemoryWE()(LiteEthMACWishboneInterface(32, nrxslots, ntxslots, endianness)) self.ev, self.bus = self.interface.sram.ev, self.interface.bus self.csrs = self.interface.get_csrs() + self.core.get_csrs() if interface == "hybrid":