From ce38cff41d243e432cc88856af85a5f07d3ff82d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Boczar?= Date: Fri, 20 Nov 2020 15:31:47 +0100 Subject: [PATCH] mercury_xu5: reduce cmd_latency to fix problems with DRAM leveling --- litex_boards/targets/mercury_xu5.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/litex_boards/targets/mercury_xu5.py b/litex_boards/targets/mercury_xu5.py index 67f35c6..fe1b06a 100755 --- a/litex_boards/targets/mercury_xu5.py +++ b/litex_boards/targets/mercury_xu5.py @@ -73,7 +73,8 @@ class BaseSoC(SoCCore): self.submodules.ddrphy = usddrphy.USPDDRPHY(platform.request("ddram"), memtype = "DDR4", sys_clk_freq = sys_clk_freq, - iodelay_clk_freq = 500e6) + iodelay_clk_freq = 500e6, + cmd_latency = 0) self.add_csr("ddrphy") self.add_sdram("sdram", phy = self.ddrphy,