Merge pull request #44 from felixheld/nexys_video-dram-fix

Fix DDR3 on nexys_video
This commit is contained in:
Tim Ansell 2018-01-12 14:08:03 +11:00 committed by GitHub
commit 5c95c8ead0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

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