mirror of https://github.com/m-labs/artiq.git
test/coredevice/rtio: remove obsolete functions
This commit is contained in:
parent
f6522922f8
commit
b4b0dcc5d1
|
@ -14,9 +14,6 @@ class RTT(EnvExperiment):
|
||||||
self.setattr_device("core")
|
self.setattr_device("core")
|
||||||
self.setattr_device("ttl_inout")
|
self.setattr_device("ttl_inout")
|
||||||
|
|
||||||
def set_rtt(self, rtt):
|
|
||||||
self.set_dataset("rtt", rtt)
|
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def run(self):
|
def run(self):
|
||||||
self.ttl_inout.output()
|
self.ttl_inout.output()
|
||||||
|
@ -38,9 +35,6 @@ class Loopback(EnvExperiment):
|
||||||
self.setattr_device("loop_in")
|
self.setattr_device("loop_in")
|
||||||
self.setattr_device("loop_out")
|
self.setattr_device("loop_out")
|
||||||
|
|
||||||
def set_rtt(self, rtt):
|
|
||||||
self.set_dataset("rtt", rtt)
|
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def run(self):
|
def run(self):
|
||||||
self.loop_in.input()
|
self.loop_in.input()
|
||||||
|
@ -60,9 +54,6 @@ class ClockGeneratorLoopback(EnvExperiment):
|
||||||
self.setattr_device("loop_clock_in")
|
self.setattr_device("loop_clock_in")
|
||||||
self.setattr_device("loop_clock_out")
|
self.setattr_device("loop_clock_out")
|
||||||
|
|
||||||
def set_count(self, count):
|
|
||||||
self.set_dataset("count", count)
|
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def run(self):
|
def run(self):
|
||||||
self.loop_clock_in.input()
|
self.loop_clock_in.input()
|
||||||
|
@ -81,9 +72,6 @@ class PulseRate(EnvExperiment):
|
||||||
self.setattr_device("core")
|
self.setattr_device("core")
|
||||||
self.setattr_device("ttl_out")
|
self.setattr_device("ttl_out")
|
||||||
|
|
||||||
def set_pulse_rate(self, pulse_rate):
|
|
||||||
self.set_dataset("pulse_rate", pulse_rate)
|
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def run(self):
|
def run(self):
|
||||||
dt = seconds_to_mu(1000*ns)
|
dt = seconds_to_mu(1000*ns)
|
||||||
|
|
Loading…
Reference in New Issue