targets/simple: pass kwargs
authorSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 24 May 2014 09:29:03 +0000 (11:29 +0200)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sat, 24 May 2014 09:29:03 +0000 (11:29 +0200)
targets/simple.py

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