board/targets/nexys4ddr: use MT47H64M16
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 6 Feb 2018 18:17:54 +0000 (19:17 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 6 Feb 2018 18:17:54 +0000 (19:17 +0100)
litex/boards/targets/nexys4ddr.py

index 391ac3818b5239315de86e33bdda4817eaa2e72b..c0ece9e1d05565282f598b20b4c59b968487e587 100755 (executable)
@@ -11,7 +11,7 @@ from litex.soc.integration.soc_core import mem_decoder
 from litex.soc.integration.soc_sdram import *
 from litex.soc.integration.builder import *
 
-from litedram.modules import MT41K256M16
+from litedram.modules import MT47H64M16
 from litedram.phy import a7ddrphy
 
 
@@ -94,9 +94,7 @@ class BaseSoC(SoCSDRAM):
 
         # sdram
         self.submodules.ddrphy = a7ddrphy.A7DDRPHY(platform.request("ddram"))
-        self.add_constant("READ_LEVELING_BITSLIP", 3)
-        self.add_constant("READ_LEVELING_DELAY", 14)
-        sdram_module = MT41K256M16(self.clk_freq, "1:4")
+        sdram_module = MT47H64M16(self.clk_freq, "1:4")
         self.register_sdram(self.ddrphy,
                             sdram_module.geom_settings,
                             sdram_module.timing_settings)