From ce2c410965cb1647dd1df621a009b9b78f18b051 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 13 Oct 2020 10:35:15 +0200 Subject: [PATCH] phy/s7ddrphy/A7DDRPHY: fix cmd_latency parameter (allow user to specify it). --- litedram/phy/s7ddrphy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litedram/phy/s7ddrphy.py b/litedram/phy/s7ddrphy.py index 985bf52..d8d99c6 100644 --- a/litedram/phy/s7ddrphy.py +++ b/litedram/phy/s7ddrphy.py @@ -460,5 +460,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, **kwargs): - S7DDRPHY.__init__(self, pads, with_odelay=False, cmd_latency=0, **kwargs) + def __init__(self, pads, cmd_latency=0, **kwargs): + S7DDRPHY.__init__(self, pads, with_odelay=False, cmd_latency=cmd_latency, **kwargs)