mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
devices/runtime: minor cleanup
This commit is contained in:
parent
66af70bfe0
commit
ef1f8787dc
@ -7,11 +7,11 @@ from artiq.compiler import ir_values
|
|||||||
lt.initialize_all()
|
lt.initialize_all()
|
||||||
|
|
||||||
_syscalls = {
|
_syscalls = {
|
||||||
"rpc": "i+:i",
|
"rpc": "i+:i",
|
||||||
"gpio_set": "ii:n",
|
"gpio_set": "ii:n",
|
||||||
"rtio_set": "Iii:n",
|
"rtio_set": "Iii:n",
|
||||||
"rtio_sync": "i:n",
|
"rtio_sync": "i:n",
|
||||||
"dds_program": "ii:n",
|
"dds_program": "ii:n",
|
||||||
}
|
}
|
||||||
|
|
||||||
_chr_to_type = {
|
_chr_to_type = {
|
||||||
@ -76,4 +76,5 @@ class Environment(LinkInterface):
|
|||||||
|
|
||||||
def emit_object(self):
|
def emit_object(self):
|
||||||
tm = lt.TargetMachine.new(triple="or1k", cpu="generic")
|
tm = lt.TargetMachine.new(triple="or1k", cpu="generic")
|
||||||
return tm.emit_object(self.module)
|
obj = tm.emit_object(self.module)
|
||||||
|
return obj
|
||||||
|
Loading…
Reference in New Issue
Block a user