targets/genesys2: set cmd_latency to 1.

This commit is contained in:
Florent Kermarrec 2020-05-05 16:33:14 +02:00
parent 95b57899cd
commit 0aa3c339cc
1 changed files with 2 additions and 1 deletions

View File

@ -56,7 +56,8 @@ class BaseSoC(SoCCore):
self.submodules.ddrphy = s7ddrphy.K7DDRPHY(platform.request("ddram"), self.submodules.ddrphy = s7ddrphy.K7DDRPHY(platform.request("ddram"),
memtype = "DDR3", memtype = "DDR3",
nphases = 4, nphases = 4,
sys_clk_freq = sys_clk_freq) sys_clk_freq = sys_clk_freq,
cmd_latency = 1)
self.add_csr("ddrphy") self.add_csr("ddrphy")
self.add_sdram("sdram", self.add_sdram("sdram",
phy = self.ddrphy, phy = self.ddrphy,