mirror of https://github.com/m-labs/artiq.git
test/rtio: relax constraints
This commit is contained in:
parent
e51928ee97
commit
43681b37ec
|
@ -76,7 +76,7 @@ class ClockGeneratorLoopback(EnvExperiment):
|
||||||
self.core.reset()
|
self.core.reset()
|
||||||
self.loop_clock_in.input()
|
self.loop_clock_in.input()
|
||||||
self.loop_clock_out.stop()
|
self.loop_clock_out.stop()
|
||||||
delay(1*us)
|
delay(10*us)
|
||||||
with parallel:
|
with parallel:
|
||||||
self.loop_clock_in.gate_rising(10*us)
|
self.loop_clock_in.gate_rising(10*us)
|
||||||
with sequential:
|
with sequential:
|
||||||
|
@ -301,7 +301,7 @@ class CoredeviceTest(ExperimentCase):
|
||||||
rate = self.dataset_mgr.get("pulse_rate")
|
rate = self.dataset_mgr.get("pulse_rate")
|
||||||
print(rate)
|
print(rate)
|
||||||
self.assertGreater(rate, 1*us)
|
self.assertGreater(rate, 1*us)
|
||||||
self.assertLess(rate, 6*us)
|
self.assertLess(rate, 6.2*us)
|
||||||
|
|
||||||
def test_loopback_count(self):
|
def test_loopback_count(self):
|
||||||
npulses = 2
|
npulses = 2
|
||||||
|
|
Loading…
Reference in New Issue