From 3391398a5fccd5fc6cae36231a11d34f032dc3c5 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 14 May 2020 15:20:52 +0200 Subject: [PATCH] bios/sdram: always show bitslip on two digits to keep scan aligned. --- litex/soc/software/bios/sdram.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litex/soc/software/bios/sdram.c b/litex/soc/software/bios/sdram.c index 81f48f488..81b169cf8 100644 --- a/litex/soc/software/bios/sdram.c +++ b/litex/soc/software/bios/sdram.c @@ -552,7 +552,7 @@ static int read_level_scan(int module, int bitslip) sdram_dfii_pird_baddress_write(0); score = 0; - printf("m%d, b%d: |", module, bitslip); + printf("m%d, b%02d: |", module, bitslip); read_delay_rst(module); for(i=0;i