From 98e41e2e0daecf92a802b36091040ad34185d584 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 2 Mar 2020 09:44:20 +0100 Subject: [PATCH] targets/nexys4ddr: add default kwargs parameters. --- litex/boards/targets/nexys4ddr.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 ) -- 2.30.2