mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 11:18:27 +08:00
sdram: clean up console output
This commit is contained in:
parent
206664afd9
commit
f4719ae24b
@ -367,8 +367,9 @@ mod ddr {
|
||||
}
|
||||
|
||||
if max_delay <= min_delay {
|
||||
log!(logger, "Zero window: {}: {}-{}\n",
|
||||
DQS_SIGNAL_COUNT - n - 1, min_delay, max_delay);
|
||||
log!(logger, "Zero window: {}: {}-{} ({})\n",
|
||||
DQS_SIGNAL_COUNT - n - 1, min_delay, max_delay,
|
||||
max_seen_valid);
|
||||
return false
|
||||
}
|
||||
if max_seen_valid <= 5 {
|
||||
@ -379,9 +380,7 @@ mod ddr {
|
||||
}
|
||||
|
||||
let mean_delay = (min_delay + max_delay) / 2;
|
||||
log!(logger, "{}: {}+-{}, ",
|
||||
DQS_SIGNAL_COUNT - n - 1, mean_delay,
|
||||
max_seen_valid / 2);
|
||||
log!(logger, "{}+-{} ", mean_delay, max_seen_valid / 2);
|
||||
|
||||
// Set delay to the middle
|
||||
ddrphy::rdly_dq_rst_write(1);
|
||||
|
Loading…
Reference in New Issue
Block a user