From d1f04e67c5b4b888b345d1f63b57446d5317cca3 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 12 Oct 2020 10:58:43 +0200 Subject: [PATCH] software/liblitedram: use 2 cycles increment on write bitslip (for tCK steps). --- litex/soc/software/liblitedram/sdram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/software/liblitedram/sdram.c b/litex/soc/software/liblitedram/sdram.c index d75d67f52..282f9ab86 100644 --- a/litex/soc/software/liblitedram/sdram.c +++ b/litex/soc/software/liblitedram/sdram.c @@ -865,7 +865,7 @@ static void sdram_write_latency_calibration(void) { /* Scan possible write windows */ best_score = 0; best_bitslip = 0; - for(bitslip=0; bitslip