From dab19d23cc54e2040dc196a67ff9c06be3dccfea Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Fri, 18 Nov 2016 17:08:33 +0100 Subject: [PATCH] runtime: support rtio data wider than 64 bit --- artiq/coredevice/rtio.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/artiq/coredevice/rtio.py b/artiq/coredevice/rtio.py index 2f564dc4b..3dec674df 100644 --- a/artiq/coredevice/rtio.py +++ b/artiq/coredevice/rtio.py @@ -1,5 +1,5 @@ from artiq.language.core import syscall -from artiq.language.types import TInt64, TInt32, TNone +from artiq.language.types import TInt64, TInt32, TNone, TList @syscall(flags={"nowrite"}) @@ -7,6 +7,12 @@ def rtio_output(time_mu: TInt64, channel: TInt32, addr: TInt32, data: TInt32) -> raise NotImplementedError("syscall not simulated") +@syscall(flags={"nowrite"}) +def rtio_output_list(time_mu: TInt64, channel: TInt32, addr: TInt32, + data: TList(TInt32)) -> TNone: + raise NotImplementedError("syscall not simulated") + + @syscall(flags={"nowrite"}) def rtio_input_timestamp(timeout_mu: TInt64, channel: TInt32) -> TInt64: raise NotImplementedError("syscall not simulated")