From 1c706fae49bb5d046d167358709df9f2f09b360b Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 9 Mar 2016 23:27:41 +0800 Subject: [PATCH] examples: dds_bus -> core_dds --- .../master/repository/coredevice_examples/photon_histogram.py | 4 ++-- .../master/repository/coredevice_examples/simple/dds_test.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/master/repository/coredevice_examples/photon_histogram.py b/examples/master/repository/coredevice_examples/photon_histogram.py index 307b3a52e..5a919aa4a 100644 --- a/examples/master/repository/coredevice_examples/photon_histogram.py +++ b/examples/master/repository/coredevice_examples/photon_histogram.py @@ -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) diff --git a/examples/master/repository/coredevice_examples/simple/dds_test.py b/examples/master/repository/coredevice_examples/simple/dds_test.py index a0b60bf73..5e262211a 100644 --- a/examples/master/repository/coredevice_examples/simple/dds_test.py +++ b/examples/master/repository/coredevice_examples/simple/dds_test.py @@ -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)