From 145f08f3fe72c4e11d22f587a7af177c4ef124be Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 28 Jan 2019 18:21:30 +0800 Subject: [PATCH] jesd204sync: update SYSREF S/H limit deviation tolerance Follows the increased DDMTD resolution. --- artiq/firmware/libboard_artiq/jesd204sync.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/firmware/libboard_artiq/jesd204sync.rs b/artiq/firmware/libboard_artiq/jesd204sync.rs index 794c59915..49dd55ce8 100644 --- a/artiq/firmware/libboard_artiq/jesd204sync.rs +++ b/artiq/firmware/libboard_artiq/jesd204sync.rs @@ -254,7 +254,7 @@ pub fn sysref_auto_rtio_align() -> Result<(), &'static str> { info!(" SYSREF S/H average limits (DDMTD phases): {} {}", rising_average, falling_average); info!(" SYSREF S/H maximum limit deviation: {} {}", rising_max_deviation, falling_max_deviation); - if rising_max_deviation > 4 || falling_max_deviation > 4 { + if rising_max_deviation > 8 || falling_max_deviation > 8 { return Err("excessive SYSREF S/H limit deviation"); } info!(" ...done");