From 129cf8c1dd328efd333570aa873834b0b1e5f13c Mon Sep 17 00:00:00 2001 From: Marius Weber Date: Tue, 11 May 2021 23:16:14 +0100 Subject: [PATCH] Phaser: Make set_nco_phase set the phase of the NCO Previous to this commit `set_nco_phase()` set the phase of the DUC instead of the NCO. Setting the phase of the NCO may be desirable to utilise the auto-sync functionality of the double-buffered DAC-NCO settings. Signed-off-by: Marius Weber --- artiq/coredevice/phaser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/coredevice/phaser.py b/artiq/coredevice/phaser.py index 740b9f02b..c8c3c0938 100644 --- a/artiq/coredevice/phaser.py +++ b/artiq/coredevice/phaser.py @@ -889,7 +889,7 @@ class PhaserChannel: :param phase: NCO phase in turns """ pow = int32(round(phase*(1 << 16))) - self.set_duc_phase_mu(pow) + self.set_nco_phase_mu(pow) @kernel def set_att_mu(self, data):