mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
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
Block a user