From 4803ca379940166bd2c55118d035de6d50a03e7c Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 19 Jun 2018 23:50:26 +0800 Subject: [PATCH] examples/sayma_drtio: add SAWG channels --- artiq/examples/sayma_drtio/device_db.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/artiq/examples/sayma_drtio/device_db.py b/artiq/examples/sayma_drtio/device_db.py index dc0ef7aff..6a5cf31d2 100644 --- a/artiq/examples/sayma_drtio/device_db.py +++ b/artiq/examples/sayma_drtio/device_db.py @@ -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} + }