From ada3b39f4e37fa8c307a42077ba41a303b82aef3 Mon Sep 17 00:00:00 2001 From: Tim Ballance Date: Fri, 4 Oct 2019 10:37:54 +0100 Subject: [PATCH] Fix ad9910 ram mode asf scale error in polar mode --- artiq/coredevice/ad9910.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/ad9910.py b/artiq/coredevice/ad9910.py index 44cd621a4..1065517df 100644 --- a/artiq/coredevice/ad9910.py +++ b/artiq/coredevice/ad9910.py @@ -603,7 +603,7 @@ class AD9910: """ for i in range(len(ram)): ram[i] = ((self.turns_to_pow(turns[i]) << 16) | - self.amplitude_to_asf(amplitude[i])) + self.amplitude_to_asf(amplitude[i]) << 2) @kernel def set_frequency(self, frequency):