forked from M-Labs/artiq
ad9912: add missing NAC3TODO
This commit is contained in:
parent
a3b55b6164
commit
0256c91d53
|
@ -52,6 +52,7 @@ class AD9912:
|
||||||
self.chip_select = chip_select
|
self.chip_select = chip_select
|
||||||
if sw_device:
|
if sw_device:
|
||||||
self.sw = dmgr.get(sw_device)
|
self.sw = dmgr.get(sw_device)
|
||||||
|
# NAC3TODO: support no sw
|
||||||
self.pll_n = pll_n
|
self.pll_n = pll_n
|
||||||
sysclk = self.cpld.refclk / [1, 1, 2, 4][self.cpld.clk_div] * pll_n
|
sysclk = self.cpld.refclk / [1, 1, 2, 4][self.cpld.clk_div] * pll_n
|
||||||
assert sysclk <= 1e9
|
assert sysclk <= 1e9
|
||||||
|
|
Loading…
Reference in New Issue