liteeth: adapt to new ModuleTransformer
authorSebastien Bourdeauducq <sb@m-labs.hk>
Fri, 10 Apr 2015 03:42:25 +0000 (11:42 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Fri, 10 Apr 2015 03:42:25 +0000 (11:42 +0800)
misoclib/com/liteeth/mac/frontend/wishbone.py

index 00747f92ca489c3a61f90f5e220a49529c7b58df..46e0093669655d3daffa593efdcf568953cd87d0 100644 (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