From: Florent Kermarrec Date: Mon, 2 Mar 2020 08:44:20 +0000 (+0100) Subject: targets/nexys4ddr: add default kwargs parameters. X-Git-Tag: 24jan2021_ls180~608 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98e41e2e0daecf92a802b36091040ad34185d584;p=litex.git targets/nexys4ddr: add default kwargs parameters. --- diff --git a/litex/boards/targets/nexys4ddr.py b/litex/boards/targets/nexys4ddr.py index c65dcf23..4a222bb6 100755 --- a/litex/boards/targets/nexys4ddr.py +++ b/litex/boards/targets/nexys4ddr.py @@ -75,9 +75,9 @@ class BaseSoC(SoCCore): phy = self.ddrphy, module = MT47H64M16(sys_clk_freq, "1:2"), origin = self.mem_map["main_ram"], - size = kwargs["max_sdram_size"], - l2_cache_size = kwargs["l2_size"], - l2_cache_min_data_width = kwargs["min_l2_data_width"], + size = kwargs.get("max_sdram_size", 0x40000000), + l2_cache_size = kwargs.get("l2_size", 8192), + l2_cache_min_data_width = kwargs.get("min_l2_data_width", 128), l2_cache_reverse = True )