fix DDR3 on nexys_video

This commit is contained in:
Felix Held 2018-01-12 13:33:13 +11:00
parent 7b6ba372c8
commit 4a3454107a
1 changed files with 2 additions and 2 deletions

View File

@ -97,8 +97,8 @@ class BaseSoC(SoCSDRAM):
# sdram # sdram
self.submodules.ddrphy = a7ddrphy.A7DDRPHY(platform.request("ddram")) self.submodules.ddrphy = a7ddrphy.A7DDRPHY(platform.request("ddram"))
self.add_constant("A7DDRPHY_BITSLIP", 3) self.add_constant("READ_LEVELING_BITSLIP", 3)
self.add_constant("A7DDRPHY_DELAY", 14) self.add_constant("READ_LEVELING_DELAY", 14)
sdram_module = MT41K256M16(self.clk_freq, "1:4") sdram_module = MT41K256M16(self.clk_freq, "1:4")
self.register_sdram(self.ddrphy, self.register_sdram(self.ddrphy,
sdram_module.geom_settings, sdram_module.geom_settings,