liteeth: adapt to new ModuleTransformer

This commit is contained in:
Sebastien Bourdeauducq 2015-04-10 11:42:25 +08:00
parent ea613cd8ee
commit 603a4ef51e
1 changed files with 1 additions and 1 deletions

View File

@ -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