forked from M-Labs/artiq
1
0
Fork 0
artiq/artiq/coredevice/spr.py

13 lines
362 B
Python
Raw Normal View History

2017-02-12 22:33:25 +08:00
from artiq.language.core import syscall
from artiq.language.types import TInt32, TNone
@syscall(flags={"nounwind", "nowrite"})
def mfspr(spr: TInt32) -> TInt32:
raise NotImplementedError("syscall not simulated")
@syscall(flags={"nowrite", "nowrite"})
def mtspr(spr: TInt32, value: TInt32) -> TNone:
raise NotImplementedError("syscall not simulated")