gateware/amp: use new ModuleTransformer API

This commit is contained in:
Sebastien Bourdeauducq 2015-04-06 23:54:53 +08:00
parent 5538ad5c70
commit 1ed60e0829

View File

@ -33,7 +33,7 @@ class KernelCPU(Module):
from mibuild.xilinx.vivado import XilinxVivadoToolchain from mibuild.xilinx.vivado import XilinxVivadoToolchain
if isinstance(platform.toolchain, XilinxVivadoToolchain): if isinstance(platform.toolchain, XilinxVivadoToolchain):
from migen.fhdl.simplify import FullMemoryWE from migen.fhdl.simplify import FullMemoryWE
self.submodules.wishbone2lasmi = FullMemoryWE( self.submodules.wishbone2lasmi = FullMemoryWE()(
WB2LASMI(l2_size//4, lasmim)) WB2LASMI(l2_size//4, lasmim))
else: else:
self.submodules.wishbone2lasmi = WB2LASMI(l2_size//4, lasmim) self.submodules.wishbone2lasmi = WB2LASMI(l2_size//4, lasmim)