From bb1b4311848444953890df68664df6a719267ef3 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 24 Jan 2020 10:46:29 +0100 Subject: [PATCH] test/test_init: use max_sdram_size of 1GB --- test/test_init.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_init.py b/test/test_init.py index 631208e..fa765ba 100644 --- a/test/test_init.py +++ b/test/test_init.py @@ -36,7 +36,7 @@ class TestInit(unittest.TestCase): def test_ddr4(self): from litex.boards.targets.kcu105 import BaseSoC - soc = BaseSoC() + soc = BaseSoC(max_sdram_size=0x4000000) c_header = get_sdram_phy_c_header(soc.sdram.controller.settings.phy, soc.sdram.controller.settings.timing) py_header = get_sdram_phy_py_header(soc.sdram.controller.settings.phy, soc.sdram.controller.settings.timing) self.assertEqual(compare_with_reference(c_header, "ddr4_init.h"), True)