mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
sawg: add 1 coarse RTIO cycle between spline resets
This keeps all events in the same SED lane and limits the number of SED lanes required. Closes #1038
This commit is contained in:
parent
22506e849f
commit
f5d55c6902
@ -342,7 +342,7 @@ class SAWG:
|
||||
settings.
|
||||
|
||||
This method advances the timeline by the time required to perform all
|
||||
seven writes to the configuration channel.
|
||||
7 writes to the configuration channel, plus 9 coarse RTIO cycles.
|
||||
"""
|
||||
self.config.set_div(0, 0)
|
||||
self.config.set_clr(1, 1, 1)
|
||||
@ -352,11 +352,20 @@ class SAWG:
|
||||
self.config.set_out_min(-1.)
|
||||
self.config.set_out_max(1.)
|
||||
self.frequency0.set_mu(0)
|
||||
delay_mu(self.core.ref_multiplier)
|
||||
self.frequency1.set_mu(0)
|
||||
delay_mu(self.core.ref_multiplier)
|
||||
self.frequency2.set_mu(0)
|
||||
delay_mu(self.core.ref_multiplier)
|
||||
self.phase0.set_mu(0)
|
||||
delay_mu(self.core.ref_multiplier)
|
||||
self.phase1.set_mu(0)
|
||||
delay_mu(self.core.ref_multiplier)
|
||||
self.phase2.set_mu(0)
|
||||
delay_mu(self.core.ref_multiplier)
|
||||
self.amplitude1.set_mu(0)
|
||||
delay_mu(self.core.ref_multiplier)
|
||||
self.amplitude2.set_mu(0)
|
||||
delay_mu(self.core.ref_multiplier)
|
||||
self.offset.set_mu(0)
|
||||
delay_mu(self.core.ref_multiplier)
|
||||
|
Loading…
Reference in New Issue
Block a user