Commit 496cd27a authored by Florent Kermarrec's avatar Florent Kermarrec

phy/s7/usddrphy: set default cmd_latency to 0.

Now that we are restricting cmd/clk scan in liblitedram, cmd_latency=0 seems
to be workin for all configurations.
parent af979bbd
......@@ -29,7 +29,7 @@ class S7DDRPHY(Module, AutoCSR):
nphases = 4,
sys_clk_freq = 100e6,
iodelay_clk_freq = 200e6,
cmd_latency = 1,
cmd_latency = 0,
cmd_delay = None):
assert not (memtype == "DDR3" and nphases == 2)
phytype = self.__class__.__name__
......@@ -461,5 +461,5 @@ class K7DDRPHY(S7DDRPHY):
# Xilinx Artix7 (S7DDRPHY without odelay, sys2/4x_dqs generated in CRG with 90° phase vs sys2/4x) --
class A7DDRPHY(S7DDRPHY):
def __init__(self, pads, cmd_latency=0, **kwargs):
S7DDRPHY.__init__(self, pads, with_odelay=False, cmd_latency=cmd_latency, **kwargs)
def __init__(self, pads, **kwargs):
S7DDRPHY.__init__(self, pads, with_odelay=False, **kwargs)
......@@ -28,7 +28,7 @@ class USDDRPHY(Module, AutoCSR):
memtype = "DDR3",
sys_clk_freq = 100e6,
iodelay_clk_freq = 200e6,
cmd_latency = 1,
cmd_latency = 0,
cmd_delay = None,
is_rdimm = False):
phytype = self.__class__.__name__
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment