targets/simple: pass kwargs

This commit is contained in:
Sebastien Bourdeauducq 2014-05-24 11:29:03 +02:00
parent b26ac465bd
commit ac97815619

View file

@ -60,10 +60,10 @@ class _CRG(Module):
class SimpleSoC(SDRAMSoC): class SimpleSoC(SDRAMSoC):
default_platform = "papilio_pro" default_platform = "papilio_pro"
def __init__(self, platform): def __init__(self, platform, **kwargs):
clk_freq = 80*1000*1000 clk_freq = 80*1000*1000
SDRAMSoC.__init__(self, platform, clk_freq, SDRAMSoC.__init__(self, platform, clk_freq,
cpu_reset_address=0x160000) cpu_reset_address=0x160000, **kwargs)
self.submodules.crg = _CRG(platform, clk_freq) self.submodules.crg = _CRG(platform, clk_freq)