From fe7029a7e03b7f93c236ec798b51a461381e8d7e Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 22 Apr 2021 17:06:21 +0200 Subject: [PATCH] software/liblitedram: Add missing read window re-centering after selecting bitslip in Write DQ-DQS training. --- litex/soc/software/liblitedram/sdram.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litex/soc/software/liblitedram/sdram.c b/litex/soc/software/liblitedram/sdram.c index 79a85ab7e..af4096d45 100644 --- a/litex/soc/software/liblitedram/sdram.c +++ b/litex/soc/software/liblitedram/sdram.c @@ -1071,10 +1071,12 @@ static void sdram_read_leveling_best_bitslip(int module) sdram_read_leveling_inc_bitslip(module); } - /* Select best read window */ + /* Select best read window and re-center it */ sdram_read_leveling_rst_bitslip(module); for (bitslip=0; bitslip