diff --git a/artiq/devices/rtio_core.py b/artiq/devices/rtio_core.py index 2c0b1988f..694e2e2e2 100644 --- a/artiq/devices/rtio_core.py +++ b/artiq/devices/rtio_core.py @@ -37,3 +37,15 @@ class RTIOOut(AutoContext): self.on() delay(duration) self.off() + + +class RTIOCounter(AutoContext): + parameters = "channel" + + @kernel + def count_rising(self, duration): + pass + + @kernel + def sync(self): + return 42