mirror of
https://github.com/m-labs/artiq.git
synced 2025-01-23 00:56:42 +08:00
42 lines
1.1 KiB
Python
42 lines
1.1 KiB
Python
core_addr = "192.168.1.70"
|
|
|
|
device_db = {
|
|
"core": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.core",
|
|
"class": "Core",
|
|
"arguments": {"host": core_addr, "ref_period": 1/(8*150e6)}
|
|
},
|
|
"core_log": {
|
|
"type": "controller",
|
|
"host": "::1",
|
|
"port": 1068,
|
|
"command": "aqctl_corelog -p {port} --bind {bind} " + core_addr
|
|
},
|
|
"core_moninj": {
|
|
"type": "controller",
|
|
"host": "::1",
|
|
"port_proxy": 1383,
|
|
"port": 1384,
|
|
"command": "aqctl_moninj_proxy --port-proxy {port_proxy} --port-control {port} --bind {bind} " + core_addr
|
|
},
|
|
"core_cache": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.cache",
|
|
"class": "CoreCache"
|
|
},
|
|
"core_dma": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.dma",
|
|
"class": "CoreDMA"
|
|
},
|
|
}
|
|
|
|
for i in range(3):
|
|
device_db["led" + str(i)] = {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ttl",
|
|
"class": "TTLOut",
|
|
"arguments": {"channel": i << 16},
|
|
}
|