2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-24 19:04:02 +08:00

examples/sayma_drtio: add SAWG channels

This commit is contained in:
Sebastien Bourdeauducq 2018-06-19 23:50:26 +08:00
parent 3d0e92aefd
commit 4803ca3799

View File

@ -134,3 +134,19 @@ device_db = {
"arguments": {"spi_device": "rconverter_spi", "chip_select": 3}
},
}
for i in range(8):
device_db["sawg" + str(i)] = {
"type": "local",
"module": "artiq.coredevice.sawg",
"class": "SAWG",
"arguments": {"channel_base": i*10+6, "parallelism": 4}
}
for i in range(8):
device_db["sawg" + str(8+i)] = {
"type": "local",
"module": "artiq.coredevice.sawg",
"class": "SAWG",
"arguments": {"channel_base": i*10+0x010006, "parallelism": 4}
}