mercury_xu5: reduce cmd_latency to fix problems with DRAM leveling

This commit is contained in:
Jędrzej Boczar 2020-11-20 15:31:47 +01:00
parent a2f3add24e
commit ce38cff41d
1 changed files with 2 additions and 1 deletions

View File

@ -73,7 +73,8 @@ class BaseSoC(SoCCore):
self.submodules.ddrphy = usddrphy.USPDDRPHY(platform.request("ddram"), self.submodules.ddrphy = usddrphy.USPDDRPHY(platform.request("ddram"),
memtype = "DDR4", memtype = "DDR4",
sys_clk_freq = sys_clk_freq, sys_clk_freq = sys_clk_freq,
iodelay_clk_freq = 500e6) iodelay_clk_freq = 500e6,
cmd_latency = 0)
self.add_csr("ddrphy") self.add_csr("ddrphy")
self.add_sdram("sdram", self.add_sdram("sdram",
phy = self.ddrphy, phy = self.ddrphy,