fix DDR3 on nexys_video
This commit is contained in:
parent
7b6ba372c8
commit
4a3454107a
|
@ -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