forked from M-Labs/artiq
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 <marius.weber@physics.ox.ac.uk>
This commit is contained in:
parent
fb6fad7c64
commit
129cf8c1dd
|
@ -889,7 +889,7 @@ class PhaserChannel:
|
||||||
:param phase: NCO phase in turns
|
:param phase: NCO phase in turns
|
||||||
"""
|
"""
|
||||||
pow = int32(round(phase*(1 << 16)))
|
pow = int32(round(phase*(1 << 16)))
|
||||||
self.set_duc_phase_mu(pow)
|
self.set_nco_phase_mu(pow)
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def set_att_mu(self, data):
|
def set_att_mu(self, data):
|
||||||
|
|
Loading…
Reference in New Issue