From 57289dd47c666b27604f1dbfcc60a3de7f342b40 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 20 Jan 2021 09:43:53 +0100 Subject: [PATCH] software/liblitedram/write_leveling: display Half Sys8x Taps value before write_leveling. --- litex/soc/software/liblitedram/sdram.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/litex/soc/software/liblitedram/sdram.c b/litex/soc/software/liblitedram/sdram.c index 97d58a566..0409a214c 100644 --- a/litex/soc/software/liblitedram/sdram.c +++ b/litex/soc/software/liblitedram/sdram.c @@ -548,6 +548,8 @@ int sdram_write_leveling(void) int cdly_range_end; int cdly_range_step; + printf(" Half Sys8x Taps: %d\n", ddrphy_half_sys8x_taps_read()); + if (_sdram_write_leveling_cmd_scan) { /* Center write leveling by varying cdly. Searching through all possible * values is slow, but we can use a simple optimization method of iterativly