From 206664afd9c746ee97ec868617e3eb82ed887e63 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Tue, 20 Mar 2018 10:16:05 +0000 Subject: [PATCH] sdram: compact read_level output --- artiq/firmware/libboard/sdram.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/firmware/libboard/sdram.rs b/artiq/firmware/libboard/sdram.rs index d49addd72..dcc55e55d 100644 --- a/artiq/firmware/libboard/sdram.rs +++ b/artiq/firmware/libboard/sdram.rs @@ -379,9 +379,9 @@ mod ddr { } let mean_delay = (min_delay + max_delay) / 2; - log!(logger, "{}: {} ({} wide), ", + log!(logger, "{}: {}+-{}, ", DQS_SIGNAL_COUNT - n - 1, mean_delay, - max_delay - min_delay); + max_seen_valid / 2); // Set delay to the middle ddrphy::rdly_dq_rst_write(1);