targets/ulx3s: get memtest working by disabling sdram refresh
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 9 Nov 2018 17:27:01 +0000 (18:27 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Fri, 9 Nov 2018 17:40:14 +0000 (18:40 +0100)
Will need to be fixed...

litex/boards/targets/ulx3s.py

index af1aa19e42bede3ffa04ecf283dddbe46098d5c7..8ff3777cff032bc50ea23f0e36f3cccdc8a0ab56 100755 (executable)
@@ -12,6 +12,7 @@ from litex.soc.integration.builder import *
 
 from litedram.modules import MT48LC16M16
 from litedram.phy import GENSDRPHY
+from litedram.core.controller import ControllerSettings
 
 
 class _CRG(Module):
@@ -69,7 +70,9 @@ class BaseSoC(SoCSDRAM):
             sdram_module = MT48LC16M16(sys_clk_freq, "1:1")
             self.register_sdram(self.sdrphy,
                                 sdram_module.geom_settings,
-                                sdram_module.timing_settings)
+                                sdram_module.timing_settings,
+                                controller_settings=ControllerSettings(
+                                    with_refresh=False)) # FIXME
 
 
 def main():