mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
parent
08074d5275
commit
661dd00c4c
@ -169,7 +169,7 @@ class AD9912:
|
||||
"""Returns the phase offset word corresponding to the given
|
||||
phase.
|
||||
"""
|
||||
return int32(round((1 << 16)*phase))
|
||||
return int32(round((1 << 14)*phase))
|
||||
|
||||
@kernel
|
||||
def set(self, frequency, phase=0.0):
|
||||
|
Loading…
Reference in New Issue
Block a user