From 764795a8fe7fbeab94d4688a7b1d43cbea71f944 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Mon, 29 Feb 2016 22:32:53 +0100 Subject: [PATCH] examples: update device_db for nist_clock spi --- examples/master/device_db.pyon | 47 ++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 8 deletions(-) diff --git a/examples/master/device_db.pyon b/examples/master/device_db.pyon index 4dbb92ab7..a78c74eba 100644 --- a/examples/master/device_db.pyon +++ b/examples/master/device_db.pyon @@ -74,14 +74,6 @@ "class": "TTLInOut", "arguments": {"channel": 18} }, - "ttl_clock_la32_p": { - "type": "local", - "module": "artiq.coredevice.ttl", - "class": "TTLClockGen", - "arguments": {"channel": 20} - }, - - "led": { "type": "local", "module": "artiq.coredevice.ttl", @@ -89,6 +81,45 @@ "arguments": {"channel": 19} }, + "ams101_ldac": { + "type": "local", + "module": "artiq.coredevice.ttl", + "class": "TTLOut", + "arguments": {"channel": 20} + }, + "ams101_spi": { + "type": "local", + "module": "artiq.coredevice.spi", + "class": "SPIMaster", + "arguments": {"channel": 21} + }, + + "spi0": { + "type": "local", + "module": "artiq.coredevice.spi", + "class": "SPIMaster", + "arguments": {"channel": 22} + }, + "spi1": { + "type": "local", + "module": "artiq.coredevice.spi", + "class": "SPIMaster", + "arguments": {"channel": 23} + }, + "spi2": { + "type": "local", + "module": "artiq.coredevice.spi", + "class": "SPIMaster", + "arguments": {"channel": 24} + }, + + "ttl_clock_la32_p": { + "type": "local", + "module": "artiq.coredevice.ttl", + "class": "TTLClockGen", + "arguments": {"channel": 25} + }, + "dds_bus": { "type": "local", "module": "artiq.coredevice.dds",