mirror of https://github.com/m-labs/artiq.git
gateware/soc: use new SDRAM API call
This commit is contained in:
parent
35acc33ef6
commit
33860820b9
|
@ -20,7 +20,7 @@ class AMPSoC:
|
||||||
self.submodules.timer0 = timer.Timer(width=64)
|
self.submodules.timer0 = timer.Timer(width=64)
|
||||||
|
|
||||||
self.submodules.kernel_cpu = amp.KernelCPU(self.platform)
|
self.submodules.kernel_cpu = amp.KernelCPU(self.platform)
|
||||||
self.add_wb_sdram_if(self.kernel_cpu.wb_sdram)
|
self.add_cpulevel_sdram_if(self.kernel_cpu.wb_sdram)
|
||||||
|
|
||||||
self.submodules.mailbox = amp.Mailbox()
|
self.submodules.mailbox = amp.Mailbox()
|
||||||
self.add_wb_slave(mem_decoder(self.mem_map["mailbox"]),
|
self.add_wb_slave(mem_decoder(self.mem_map["mailbox"]),
|
||||||
|
|
Loading…
Reference in New Issue