From 7404152e4c38a5a061fcb293001300e1b04d02ca Mon Sep 17 00:00:00 2001 From: Marius Weber Date: Fri, 2 Apr 2021 11:18:59 +0100 Subject: [PATCH] Phaser upconverter: rename `ndiv` -> `nint` to match datasheet (close #1638) Signed-off-by: Marius Weber --- artiq/coredevice/trf372017.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/coredevice/trf372017.py b/artiq/coredevice/trf372017.py index 75c153997..e4f114847 100644 --- a/artiq/coredevice/trf372017.py +++ b/artiq/coredevice/trf372017.py @@ -11,7 +11,7 @@ class TRF372017: icp_double = 0 cal_clk_sel = 12 # /16, 4b - ndiv = 420 # 16b + nint = 420 # 16b pll_div_sel = 0 # /1, 2b prsc_sel = 1 # 8/9 vco_sel = 2 # 2b @@ -92,7 +92,7 @@ class TRF372017: (self.cal_clk_sel << 27)) mmap.append( 0xa | - (self.ndiv << 5) | (self.pll_div_sel << 21) | + (self.nint << 5) | (self.pll_div_sel << 21) | (self.prsc_sel << 23) | (self.vco_sel << 26) | (self.vcosel_mode << 28) | (self.cal_acc << 29) | (self.en_cal << 31))