mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-24 10:54:02 +08:00
suservo: use default urukul profile
This commit is contained in:
parent
8b45f917d1
commit
cea0a15e1e
@ -2,6 +2,8 @@ import logging
|
||||
|
||||
from migen import *
|
||||
|
||||
from artiq.coredevice.urukul import DEFAULT_PROFILE
|
||||
|
||||
from . import spi
|
||||
|
||||
|
||||
@ -26,7 +28,8 @@ class DDS(spi.SPISimple):
|
||||
|
||||
self.profile = [Signal(32 + 16 + 16, reset_less=True)
|
||||
for i in range(params.channels)]
|
||||
cmd = Signal(8, reset=0x15) # write to single tone profile 7
|
||||
# write to single tone default profile
|
||||
cmd = Signal(8, reset=0x0e + DEFAULT_PROFILE)
|
||||
assert params.width == len(cmd) + len(self.profile[0])
|
||||
|
||||
self.sync += [
|
||||
|
Loading…
Reference in New Issue
Block a user