mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 00:16:29 +08:00
ad99xx added additional kernel invariants
Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
This commit is contained in:
parent
4a6201c083
commit
d745d50245
@ -137,8 +137,10 @@ class AD9910:
|
|||||||
def __init__(self, dmgr, chip_select, cpld_device, sw_device=None,
|
def __init__(self, dmgr, chip_select, cpld_device, sw_device=None,
|
||||||
pll_n=40, pll_cp=7, pll_vco=5, sync_delay_seed=-1,
|
pll_n=40, pll_cp=7, pll_vco=5, sync_delay_seed=-1,
|
||||||
io_update_delay=0, pll_en=1):
|
io_update_delay=0, pll_en=1):
|
||||||
self.kernel_invariants = {"chip_select", "cpld", "core", "bus",
|
self.kernel_invariants = {"cpld", "core", "bus", "chip_select",
|
||||||
"ftw_per_hz", "sysclk_per_mu"}
|
"pll_en", "pll_n", "pll_vco", "pll_cp",
|
||||||
|
"ftw_per_hz", "sysclk_per_mu", "sysclk",
|
||||||
|
"sync_data"}
|
||||||
self.cpld = dmgr.get(cpld_device)
|
self.cpld = dmgr.get(cpld_device)
|
||||||
self.core = self.cpld.core
|
self.core = self.cpld.core
|
||||||
self.bus = self.cpld.bus
|
self.bus = self.cpld.bus
|
||||||
|
@ -29,8 +29,8 @@ class AD9912:
|
|||||||
|
|
||||||
def __init__(self, dmgr, chip_select, cpld_device, sw_device=None,
|
def __init__(self, dmgr, chip_select, cpld_device, sw_device=None,
|
||||||
pll_n=10):
|
pll_n=10):
|
||||||
self.kernel_invariants = {"chip_select", "cpld", "core", "bus",
|
self.kernel_invariants = {"cpld", "core", "bus", "chip_select",
|
||||||
"ftw_per_hz"}
|
"pll_n", "ftw_per_hz"}
|
||||||
self.cpld = dmgr.get(cpld_device)
|
self.cpld = dmgr.get(cpld_device)
|
||||||
self.core = self.cpld.core
|
self.core = self.cpld.core
|
||||||
self.bus = self.cpld.bus
|
self.bus = self.cpld.bus
|
||||||
|
Loading…
Reference in New Issue
Block a user