examples/device_db: add aliases for ARTIQ test suite

This commit is contained in:
Sebastien Bourdeauducq 2020-07-16 18:38:40 +08:00
parent 9528e81bf0
commit 2c5a79efa5
1 changed files with 9 additions and 0 deletions

View File

@ -40,6 +40,7 @@ device_db = {
}, },
} }
# TTLs on QC2 backplane
for i in range(40): for i in range(40):
device_db["ttl" + str(i)] = { device_db["ttl" + str(i)] = {
"type": "local", "type": "local",
@ -47,3 +48,11 @@ for i in range(40):
"class": "TTLInOut", "class": "TTLInOut",
"arguments": {"channel": 4+i} "arguments": {"channel": 4+i}
} }
# for ARTIQ test suite
device_db.update(
loop_out="ttl0",
loop_in="ttl1",
ttl_out="ttl2",
ttl_out_serdes="ttl2",
)