forked from M-Labs/artiq
1
0
Fork 0

targets/artiq_ppro: use new sdram_controller_settings parameter

This commit is contained in:
Florent Kermarrec 2015-03-21 23:21:49 +01:00 committed by Sebastien Bourdeauducq
parent e4a71e6e8c
commit 494c670cd2
1 changed files with 3 additions and 3 deletions

View File

@ -4,6 +4,7 @@ from migen.bank import wbgen
from mibuild.generic_platform import * from mibuild.generic_platform import *
from misoclib.cpu.peripherals import gpio from misoclib.cpu.peripherals import gpio
from misoclib.mem.sdram.core.minicon import MiniconSettings
from targets.ppro import BaseSoC from targets.ppro import BaseSoC
from artiq.gateware import rtio, ad9858 from artiq.gateware import rtio, ad9858
@ -93,11 +94,10 @@ class ARTIQMiniSoC(BaseSoC):
csr_map.update(BaseSoC.csr_map) csr_map.update(BaseSoC.csr_map)
def __init__(self, platform, cpu_type="or1k", def __init__(self, platform, cpu_type="or1k",
ramcon_type="minicon", with_l2=False,
with_test_gen=False, **kwargs): with_test_gen=False, **kwargs):
BaseSoC.__init__(self, platform, BaseSoC.__init__(self, platform,
cpu_type=cpu_type, ramcon_type=ramcon_type, cpu_type=cpu_type,
with_l2=with_l2, sdram_controller_settings=MiniconSettings(),
**kwargs) **kwargs)
platform.add_extension(_tester_io) platform.add_extension(_tester_io)