mirror of https://github.com/m-labs/artiq.git
jesd204sync: print more information on test_slip_ddmtd error
This commit is contained in:
parent
2e8decbce3
commit
ed6aa29897
|
@ -103,7 +103,7 @@ fn test_slip_ddmtd() -> Result<(), &'static str> {
|
|||
let phase = measure_ddmdt_phase();
|
||||
let step = (DDMTD_N + old_phase - phase) % DDMTD_N;
|
||||
if (step - expected_step).abs() > tolerance {
|
||||
error!(" ...got unexpected step: {}", step);
|
||||
error!(" ...got unexpected step: {} ({} -> {})", step, old_phase, phase);
|
||||
return Err("HMC7043 SYSREF slip produced unexpected DDMTD step");
|
||||
}
|
||||
old_phase = phase;
|
||||
|
|
Loading…
Reference in New Issue