2016-03-01 23:34:05 +08:00
|
|
|
from artiq.language.core import syscall
|
2016-11-19 00:08:33 +08:00
|
|
|
from artiq.language.types import TInt64, TInt32, TNone, TList
|
2016-03-01 23:34:05 +08:00
|
|
|
|
|
|
|
|
2016-03-29 05:25:40 +08:00
|
|
|
@syscall(flags={"nowrite"})
|
2016-11-30 00:22:55 +08:00
|
|
|
def rtio_output(time_mu: TInt64, channel: TInt32, addr: TInt32, data: TInt32
|
|
|
|
) -> TNone:
|
2016-03-01 23:34:05 +08:00
|
|
|
raise NotImplementedError("syscall not simulated")
|
|
|
|
|
|
|
|
|
2016-11-19 00:08:33 +08:00
|
|
|
@syscall(flags={"nowrite"})
|
2016-11-30 00:22:55 +08:00
|
|
|
def rtio_output_wide(time_mu: TInt64, channel: TInt32, addr: TInt32,
|
2016-11-19 00:08:33 +08:00
|
|
|
data: TList(TInt32)) -> TNone:
|
|
|
|
raise NotImplementedError("syscall not simulated")
|
|
|
|
|
|
|
|
|
2016-03-29 05:25:40 +08:00
|
|
|
@syscall(flags={"nowrite"})
|
2016-03-01 23:34:05 +08:00
|
|
|
def rtio_input_timestamp(timeout_mu: TInt64, channel: TInt32) -> TInt64:
|
|
|
|
raise NotImplementedError("syscall not simulated")
|
2016-03-02 02:21:50 +08:00
|
|
|
|
|
|
|
|
2016-03-29 05:25:40 +08:00
|
|
|
@syscall(flags={"nowrite"})
|
2016-03-02 02:21:50 +08:00
|
|
|
def rtio_input_data(channel: TInt32) -> TInt32:
|
|
|
|
raise NotImplementedError("syscall not simulated")
|