Skip to content

Commit 1c706fa

Browse files
committedMar 9, 2016
examples: dds_bus -> core_dds
1 parent 861c4a9 commit 1c706fa

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎examples/master/repository/coredevice_examples/photon_histogram.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class PhotonHistogram(EnvExperiment):
66

77
def build(self):
88
self.setattr_device("core")
9-
self.setattr_device("dds_bus")
9+
self.setattr_device("core_dds")
1010
self.setattr_device("bd_dds")
1111
self.setattr_device("bd_sw")
1212
self.setattr_device("bdd_dds")
@@ -22,7 +22,7 @@ def build(self):
2222

2323
@kernel
2424
def program_cooling(self):
25-
with self.dds_bus.batch:
25+
with self.core_dds.batch:
2626
self.bd_dds.set(200*MHz)
2727
self.bdd_dds.set(300*MHz)
2828

‎examples/master/repository/coredevice_examples/simple/dds_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class DDSTest(EnvExperiment):
66

77
def build(self):
88
self.setattr_device("core")
9-
self.setattr_device("dds_bus")
9+
self.setattr_device("core_dds")
1010
self.setattr_device("dds0")
1111
self.setattr_device("dds1")
1212
self.setattr_device("dds2")
@@ -17,7 +17,7 @@ def build(self):
1717

1818
@kernel
1919
def run(self):
20-
with self.dds_bus.batch:
20+
with self.core_dds.batch:
2121
self.dds1.set(120*MHz)
2222
self.dds2.set(200*MHz)
2323
delay(1*us)

0 commit comments

Comments
 (0)
Please sign in to comment.