forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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