From 6552aa4c280ccc0d6c336ff368b1c768f83ff44a Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Tue, 12 Apr 2016 18:17:06 +0800 Subject: [PATCH] test: set inputs to input(), should close #383 --- artiq/test/coredevice/test_analyzer.py | 2 ++ artiq/test/coredevice/test_rtio.py | 1 + 2 files changed, 3 insertions(+) diff --git a/artiq/test/coredevice/test_analyzer.py b/artiq/test/coredevice/test_analyzer.py index 93d359b01..c8e506c23 100644 --- a/artiq/test/coredevice/test_analyzer.py +++ b/artiq/test/coredevice/test_analyzer.py @@ -12,6 +12,8 @@ class CreateTTLPulse(EnvExperiment): @kernel def run(self): + self.loop_in.input() + delay_mu(8) with parallel: self.loop_in.gate_both_mu(1200) with sequential: diff --git a/artiq/test/coredevice/test_rtio.py b/artiq/test/coredevice/test_rtio.py index a0b3252ee..fdeda05c7 100644 --- a/artiq/test/coredevice/test_rtio.py +++ b/artiq/test/coredevice/test_rtio.py @@ -152,6 +152,7 @@ class LoopbackCount(EnvExperiment): @kernel def run(self): + self.loop_in.input() self.loop_out.output() delay(5*us) with parallel: