forked from M-Labs/artiq
jesd204sync: increase tolerance for coarse->final target in calibrate_sysref_target
There is plenty of slack (it only needs to meet timing at the RTIO frequency).
This commit is contained in:
parent
ed6aa29897
commit
9d0d02a561
|
@ -192,7 +192,7 @@ fn calibrate_sysref_target(rising_average: i32, falling_average: i32) -> Result<
|
||||||
((falling_average - (DDMTD_N - rising_average))/2 + DDMTD_N) % DDMTD_N
|
((falling_average - (DDMTD_N - rising_average))/2 + DDMTD_N) % DDMTD_N
|
||||||
};
|
};
|
||||||
info!(" SYSREF calibration coarse target: {}", coarse_target);
|
info!(" SYSREF calibration coarse target: {}", coarse_target);
|
||||||
reach_sysref_ddmtd_target(coarse_target, 4)?;
|
reach_sysref_ddmtd_target(coarse_target, 8)?;
|
||||||
let target = measure_ddmdt_phase();
|
let target = measure_ddmdt_phase();
|
||||||
info!(" ...done, target={}", target);
|
info!(" ...done, target={}", target);
|
||||||
Ok(target)
|
Ok(target)
|
||||||
|
|
Loading…
Reference in New Issue