From d42ef464712abbdd21d00689708b221e60bea6ee 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 60bfda526..d1ca16220 100644 --- a/artiq/test/coredevice/test_rtio.py +++ b/artiq/test/coredevice/test_rtio.py @@ -158,6 +158,7 @@ class LoopbackCount(EnvExperiment): @kernel def run(self): + self.loop_in.input() self.loop_out.output() delay(5*us) with parallel: