From: Sebastien Bourdeauducq Date: Fri, 10 Apr 2015 03:42:25 +0000 (+0800) Subject: liteeth: adapt to new ModuleTransformer X-Git-Tag: 24jan2021_ls180~2389 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=603a4ef51e4c256469280c6a33911d1e00d5fb46;p=litex.git liteeth: adapt to new ModuleTransformer --- diff --git a/misoclib/com/liteeth/mac/frontend/wishbone.py b/misoclib/com/liteeth/mac/frontend/wishbone.py index 00747f92..46e00936 100644 --- a/misoclib/com/liteeth/mac/frontend/wishbone.py +++ b/misoclib/com/liteeth/mac/frontend/wishbone.py @@ -23,7 +23,7 @@ class LiteEthMACWishboneInterface(Module, AutoCSR): wb_rx_sram_ifs = [wishbone.SRAM(self.sram.writer.mems[n], read_only=True) for n in range(nrxslots)] # TODO: FullMemoryWE should move to Mibuild - wb_tx_sram_ifs = [FullMemoryWE(wishbone.SRAM(self.sram.reader.mems[n], read_only=False)) + wb_tx_sram_ifs = [FullMemoryWE()(wishbone.SRAM(self.sram.reader.mems[n], read_only=False)) for n in range(ntxslots)] wb_sram_ifs = wb_rx_sram_ifs + wb_tx_sram_ifs