phy/s7ddrphy/A7DDRPHY: fix cmd_latency parameter (allow user to specify it).

This commit is contained in:
Florent Kermarrec 2020-10-13 10:35:15 +02:00
parent 85fa02afc7
commit ce2c410965
1 changed files with 2 additions and 2 deletions

View File

@ -460,5 +460,5 @@ class K7DDRPHY(S7DDRPHY):
# Xilinx Artix7 (S7DDRPHY without odelay, sys2/4x_dqs generated in CRG with 90° phase vs sys2/4x) -- # Xilinx Artix7 (S7DDRPHY without odelay, sys2/4x_dqs generated in CRG with 90° phase vs sys2/4x) --
class A7DDRPHY(S7DDRPHY): class A7DDRPHY(S7DDRPHY):
def __init__(self, pads, **kwargs): def __init__(self, pads, cmd_latency=0, **kwargs):
S7DDRPHY.__init__(self, pads, with_odelay=False, cmd_latency=0, **kwargs) S7DDRPHY.__init__(self, pads, with_odelay=False, cmd_latency=cmd_latency, **kwargs)