forked from M-Labs/artiq
examples: dds_bus -> core_dds
This commit is contained in:
parent
861c4a9ae5
commit
1c706fae49
@ -6,7 +6,7 @@ class PhotonHistogram(EnvExperiment):
|
||||
|
||||
def build(self):
|
||||
self.setattr_device("core")
|
||||
self.setattr_device("dds_bus")
|
||||
self.setattr_device("core_dds")
|
||||
self.setattr_device("bd_dds")
|
||||
self.setattr_device("bd_sw")
|
||||
self.setattr_device("bdd_dds")
|
||||
@ -22,7 +22,7 @@ class PhotonHistogram(EnvExperiment):
|
||||
|
||||
@kernel
|
||||
def program_cooling(self):
|
||||
with self.dds_bus.batch:
|
||||
with self.core_dds.batch:
|
||||
self.bd_dds.set(200*MHz)
|
||||
self.bdd_dds.set(300*MHz)
|
||||
|
||||
|
@ -6,7 +6,7 @@ class DDSTest(EnvExperiment):
|
||||
|
||||
def build(self):
|
||||
self.setattr_device("core")
|
||||
self.setattr_device("dds_bus")
|
||||
self.setattr_device("core_dds")
|
||||
self.setattr_device("dds0")
|
||||
self.setattr_device("dds1")
|
||||
self.setattr_device("dds2")
|
||||
@ -17,7 +17,7 @@ class DDSTest(EnvExperiment):
|
||||
|
||||
@kernel
|
||||
def run(self):
|
||||
with self.dds_bus.batch:
|
||||
with self.core_dds.batch:
|
||||
self.dds1.set(120*MHz)
|
||||
self.dds2.set(200*MHz)
|
||||
delay(1*us)
|
||||
|
Loading…
Reference in New Issue
Block a user