forked from M-Labs/artiq
coredevice/TTLOut: add dummy output function
This commit is contained in:
parent
18efca0f0a
commit
c7d48a1765
@ -37,6 +37,10 @@ class TTLOut:
|
|||||||
# in RTIO cycles
|
# in RTIO cycles
|
||||||
self.o_previous_timestamp = int(0, width=64)
|
self.o_previous_timestamp = int(0, width=64)
|
||||||
|
|
||||||
|
@kernel
|
||||||
|
def output(self):
|
||||||
|
pass
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def set_o(self, o):
|
def set_o(self, o):
|
||||||
ttl_set_o(now_mu(), self.channel, o)
|
ttl_set_o(now_mu(), self.channel, o)
|
||||||
|
@ -8,6 +8,7 @@ from math import sqrt
|
|||||||
from artiq.experiment import *
|
from artiq.experiment import *
|
||||||
from artiq.test.hardware_testbench import ExperimentCase
|
from artiq.test.hardware_testbench import ExperimentCase
|
||||||
|
|
||||||
|
|
||||||
artiq_low_latency = os.getenv("ARTIQ_LOW_LATENCY")
|
artiq_low_latency = os.getenv("ARTIQ_LOW_LATENCY")
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user