Skip to content

Commit

Permalink
coredevice/TTLOut: add dummy output function
Browse files Browse the repository at this point in the history
sbourdeauducq committed Mar 1, 2016
1 parent 18efca0 commit c7d48a1
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions artiq/coredevice/ttl.py
Original file line number Diff line number Diff line change
@@ -37,6 +37,10 @@ def __init__(self, dmgr, channel):
# in RTIO cycles
self.o_previous_timestamp = int(0, width=64)

@kernel
def output(self):
pass

@kernel
def set_o(self, o):
ttl_set_o(now_mu(), self.channel, o)
1 change: 1 addition & 0 deletions artiq/test/coredevice/test_rtio.py
Original file line number Diff line number Diff line change
@@ -8,6 +8,7 @@
from artiq.experiment import *
from artiq.test.hardware_testbench import ExperimentCase


artiq_low_latency = os.getenv("ARTIQ_LOW_LATENCY")


0 comments on commit c7d48a1

Please sign in to comment.