forked from M-Labs/nac3
1
0
Fork 0
nac3/nac3artiq/artiq_builtins.py

28 lines
590 B
Python
Raw Normal View History

2021-09-30 22:30:54 +08:00
from numpy import int32, int64
from language import *
2021-09-30 22:30:54 +08:00
@extern
def rtio_init():
raise NotImplementedError("syscall not simulated")
@extern
def rtio_get_counter() -> int64:
raise NotImplementedError("syscall not simulated")
@extern
def rtio_output(target: int32, data: int32):
raise NotImplementedError("syscall not simulated")
@extern
def rtio_input_timestamp(timeout_mu: int64, channel: int32) -> int64:
raise NotImplementedError("syscall not simulated")
@extern
def rtio_input_data(channel: int32) -> int32:
raise NotImplementedError("syscall not simulated")