mirror of https://github.com/m-labs/artiq.git
gateware/amp: use new ModuleTransformer API
This commit is contained in:
parent
5538ad5c70
commit
1ed60e0829
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue