From d745d50245e9711fdef7d80e2ebe77ccb463eae3 Mon Sep 17 00:00:00 2001 From: Leon Riesebos Date: Tue, 20 Apr 2021 22:30:21 -0400 Subject: [PATCH] ad99xx added additional kernel invariants Signed-off-by: Leon Riesebos --- artiq/coredevice/ad9910.py | 6 ++++-- artiq/coredevice/ad9912.py | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/artiq/coredevice/ad9910.py b/artiq/coredevice/ad9910.py index e6b5309fb..6bb9cf0aa 100644 --- a/artiq/coredevice/ad9910.py +++ b/artiq/coredevice/ad9910.py @@ -137,8 +137,10 @@ class AD9910: def __init__(self, dmgr, chip_select, cpld_device, sw_device=None, pll_n=40, pll_cp=7, pll_vco=5, sync_delay_seed=-1, io_update_delay=0, pll_en=1): - self.kernel_invariants = {"chip_select", "cpld", "core", "bus", - "ftw_per_hz", "sysclk_per_mu"} + self.kernel_invariants = {"cpld", "core", "bus", "chip_select", + "pll_en", "pll_n", "pll_vco", "pll_cp", + "ftw_per_hz", "sysclk_per_mu", "sysclk", + "sync_data"} self.cpld = dmgr.get(cpld_device) self.core = self.cpld.core self.bus = self.cpld.bus diff --git a/artiq/coredevice/ad9912.py b/artiq/coredevice/ad9912.py index cdaaa6a8e..6eca8e72c 100644 --- a/artiq/coredevice/ad9912.py +++ b/artiq/coredevice/ad9912.py @@ -29,8 +29,8 @@ class AD9912: def __init__(self, dmgr, chip_select, cpld_device, sw_device=None, pll_n=10): - self.kernel_invariants = {"chip_select", "cpld", "core", "bus", - "ftw_per_hz"} + self.kernel_invariants = {"cpld", "core", "bus", "chip_select", + "pll_n", "ftw_per_hz"} self.cpld = dmgr.get(cpld_device) self.core = self.cpld.core self.bus = self.cpld.bus