forked from M-Labs/artiq
ad991[02]: sysclk can be 1 GHz
This commit is contained in:
parent
6ae1cc20aa
commit
75c89422c9
@ -62,7 +62,7 @@ class AD9910:
|
||||
self.pll_n = pll_n
|
||||
assert self.cpld.refclk < 60e6
|
||||
self.sysclk = self.cpld.refclk*pll_n/4 # Urukul clock fanout divider
|
||||
assert self.sysclk < 1e9
|
||||
assert self.sysclk <= 1e9
|
||||
self.ftw_per_hz = 1./self.sysclk*(int64(1) << 32)
|
||||
assert 0 <= pll_vco <= 5
|
||||
vco_min, vco_max = [(370, 510), (420, 590), (500, 700),
|
||||
|
@ -35,7 +35,7 @@ class AD9912:
|
||||
self.sw = dmgr.get(sw_device)
|
||||
self.pll_n = pll_n
|
||||
self.sysclk = self.cpld.refclk*pll_n
|
||||
assert self.sysclk < 1e9
|
||||
assert self.sysclk <= 1e9
|
||||
self.ftw_per_hz = 1/self.sysclk*(int64(1) << 48)
|
||||
|
||||
@kernel
|
||||
|
Loading…
Reference in New Issue
Block a user