mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-18 16:06:30 +08:00
phaser: fix oscillator rtio address for even base addresses
close #1580
This commit is contained in:
parent
641f8bcdd6
commit
261870bdee
@ -928,7 +928,7 @@ class PhaserOscillator:
|
||||
:param clr: Clear the phase accumulator (persistent)
|
||||
"""
|
||||
data = (asf & 0x7fff) | ((clr & 1) << 15) | (pow << 16)
|
||||
rtio_output(self.base_addr | (1 << 8), data)
|
||||
rtio_output(self.base_addr + (1 << 8), data)
|
||||
|
||||
@kernel
|
||||
def set_amplitude_phase(self, amplitude, phase=0., clr=0):
|
||||
|
Loading…
Reference in New Issue
Block a user