Merge pull request #44 from felixheld/nexys_video-dram-fix
Fix DDR3 on nexys_video
This commit is contained in:
commit
5c95c8ead0
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue