2015-11-04 17:10:10 +08:00
|
|
|
# This is an example device database that needs to be adapted to your setup.
|
2016-02-29 21:35:23 +08:00
|
|
|
# The RTIO channel numbers here are for NIST CLOCK on KC705.
|
2015-11-04 17:10:10 +08:00
|
|
|
|
2014-12-03 18:20:30 +08:00
|
|
|
{
|
|
|
|
"comm": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2015-04-23 23:22:40 +08:00
|
|
|
"module": "artiq.coredevice.comm_tcp",
|
2014-12-03 18:20:30 +08:00
|
|
|
"class": "Comm",
|
2016-02-29 21:35:23 +08:00
|
|
|
"arguments": {"host": "kc705.lab.m-labs.hk"}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"core": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2014-12-03 18:20:30 +08:00
|
|
|
"module": "artiq.coredevice.core",
|
|
|
|
"class": "Core",
|
2015-07-27 20:12:17 +08:00
|
|
|
"arguments": {"ref_period": 1e-9}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
|
|
|
|
"ttl0": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2015-05-02 10:35:21 +08:00
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
2016-02-29 21:35:23 +08:00
|
|
|
"arguments": {"channel": 0},
|
2015-09-02 04:25:20 +08:00
|
|
|
"comment": "This is a fairly long comment to test word wrapping in GUI."
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"ttl1": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2015-05-02 10:35:21 +08:00
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
2016-02-29 21:35:23 +08:00
|
|
|
"arguments": {"channel": 1},
|
2015-09-02 04:25:20 +08:00
|
|
|
"comment": "Hello World"
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"ttl2": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2015-05-02 10:35:21 +08:00
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
2016-02-29 21:35:23 +08:00
|
|
|
"arguments": {"channel": 2}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
2015-07-02 04:22:53 +08:00
|
|
|
"ttl3": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
2016-02-29 21:35:23 +08:00
|
|
|
"class": "TTLInOut",
|
|
|
|
"arguments": {"channel": 3}
|
2015-07-02 04:22:53 +08:00
|
|
|
},
|
2016-02-29 21:35:23 +08:00
|
|
|
|
2016-02-17 00:42:28 +08:00
|
|
|
"ttl4": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
2016-02-29 21:35:23 +08:00
|
|
|
"arguments": {"channel": 4}
|
2016-02-17 00:42:28 +08:00
|
|
|
},
|
|
|
|
"ttl5": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
2016-02-29 21:35:23 +08:00
|
|
|
"arguments": {"channel": 5}
|
2016-02-17 00:42:28 +08:00
|
|
|
},
|
2016-02-29 21:35:23 +08:00
|
|
|
"ttl6": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
|
|
|
"arguments": {"channel": 6}
|
|
|
|
},
|
|
|
|
"ttl7": {
|
2015-08-18 15:20:42 +08:00
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLInOut",
|
2016-02-29 21:35:23 +08:00
|
|
|
"arguments": {"channel": 7}
|
2015-08-18 15:20:42 +08:00
|
|
|
},
|
2016-02-29 21:35:23 +08:00
|
|
|
|
|
|
|
|
|
|
|
"ttl_sma": {
|
2015-04-04 22:07:23 +08:00
|
|
|
"type": "local",
|
2015-05-02 10:35:21 +08:00
|
|
|
"module": "artiq.coredevice.ttl",
|
2016-02-29 21:35:23 +08:00
|
|
|
"class": "TTLInOut",
|
2015-08-18 15:20:42 +08:00
|
|
|
"arguments": {"channel": 18}
|
2015-04-04 22:07:23 +08:00
|
|
|
},
|
2016-03-01 05:32:53 +08:00
|
|
|
"led": {
|
2016-03-01 00:35:26 +08:00
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
2016-03-01 05:32:53 +08:00
|
|
|
"class": "TTLOut",
|
|
|
|
"arguments": {"channel": 19}
|
|
|
|
},
|
|
|
|
|
|
|
|
"ams101_ldac": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
|
|
|
"class": "TTLOut",
|
2016-03-01 00:35:26 +08:00
|
|
|
"arguments": {"channel": 20}
|
|
|
|
},
|
2016-03-01 05:32:53 +08:00
|
|
|
"ams101_spi": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.spi",
|
|
|
|
"class": "SPIMaster",
|
|
|
|
"arguments": {"channel": 21}
|
|
|
|
},
|
2016-03-01 00:35:26 +08:00
|
|
|
|
2016-03-01 05:32:53 +08:00
|
|
|
"spi0": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.spi",
|
|
|
|
"class": "SPIMaster",
|
|
|
|
"arguments": {"channel": 22}
|
|
|
|
},
|
2016-02-29 21:35:23 +08:00
|
|
|
|
2016-03-01 05:32:53 +08:00
|
|
|
"ttl_clock_la32_p": {
|
2015-12-26 21:50:48 +08:00
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.ttl",
|
2016-03-01 05:32:53 +08:00
|
|
|
"class": "TTLClockGen",
|
2016-03-01 08:52:46 +08:00
|
|
|
"arguments": {"channel": 23}
|
2015-12-26 21:50:48 +08:00
|
|
|
},
|
2014-12-03 18:20:30 +08:00
|
|
|
|
2015-05-08 22:17:06 +08:00
|
|
|
"dds_bus": {
|
|
|
|
"type": "local",
|
|
|
|
"module": "artiq.coredevice.dds",
|
|
|
|
"class": "DDSBus",
|
|
|
|
"arguments": {}
|
|
|
|
},
|
2014-12-03 18:20:30 +08:00
|
|
|
"dds0": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2014-12-03 18:20:30 +08:00
|
|
|
"module": "artiq.coredevice.dds",
|
2016-02-29 21:35:23 +08:00
|
|
|
"class": "AD9914",
|
|
|
|
"arguments": {"sysclk": 3e9, "channel": 0},
|
2015-09-02 04:25:20 +08:00
|
|
|
"comment": "Comments work in DDS panel as well"
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"dds1": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2014-12-03 18:20:30 +08:00
|
|
|
"module": "artiq.coredevice.dds",
|
2016-02-29 21:35:23 +08:00
|
|
|
"class": "AD9914",
|
|
|
|
"arguments": {"sysclk": 3e9, "channel": 1}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
"dds2": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2014-12-03 18:20:30 +08:00
|
|
|
"module": "artiq.coredevice.dds",
|
2016-02-29 21:35:23 +08:00
|
|
|
"class": "AD9914",
|
|
|
|
"arguments": {"sysclk": 3e9, "channel": 2}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
|
2015-03-22 07:24:42 +08:00
|
|
|
"qc_q1_0": {
|
|
|
|
"type": "controller",
|
2015-10-20 11:25:38 +08:00
|
|
|
# ::1 is the IPv6 localhost address. If this controller is running on a remote machine,
|
|
|
|
# replace it with the IP or hostname of the machine. If using the hostname, make sure
|
|
|
|
# that it always resolves to a network-visible IP address (see documentation).
|
2015-03-22 07:24:42 +08:00
|
|
|
"host": "::1",
|
|
|
|
"port": 4000,
|
2016-02-17 00:42:28 +08:00
|
|
|
"command": "pdq2_controller --no-localhost-bind -p {port} --bind {bind} --simulation --dump qc_q1_0.bin"
|
2015-03-22 07:24:42 +08:00
|
|
|
},
|
|
|
|
"qc_q1_1": {
|
|
|
|
"type": "controller",
|
|
|
|
"host": "::1",
|
|
|
|
"port": 4001,
|
2016-02-17 00:42:28 +08:00
|
|
|
"command": "pdq2_controller --no-localhost-bind -p {port} --bind {bind} --simulation --dump qc_q1_1.bin"
|
2015-03-22 07:24:42 +08:00
|
|
|
},
|
|
|
|
"qc_q1_2": {
|
|
|
|
"type": "controller",
|
|
|
|
"host": "::1",
|
|
|
|
"port": 4002,
|
2016-02-17 00:42:28 +08:00
|
|
|
"command": "pdq2_controller --no-localhost-bind -p {port} --bind {bind} --simulation --dump qc_q1_2.bin"
|
2015-03-22 07:24:42 +08:00
|
|
|
},
|
|
|
|
"qc_q1_3": {
|
|
|
|
"type": "controller",
|
|
|
|
"host": "::1",
|
|
|
|
"port": 4003,
|
2016-02-17 00:42:28 +08:00
|
|
|
"command": "pdq2_controller --no-localhost-bind -p {port} --bind {bind} --simulation --dump qc_q1_3.bin"
|
2015-03-22 07:24:42 +08:00
|
|
|
},
|
2014-12-03 18:20:30 +08:00
|
|
|
"electrodes": {
|
2015-02-05 22:53:31 +08:00
|
|
|
"type": "local",
|
2014-12-03 18:20:30 +08:00
|
|
|
"module": "artiq.devices.pdq2",
|
|
|
|
"class": "CompoundPDQ2",
|
2015-01-12 18:51:23 +08:00
|
|
|
"arguments": {
|
2015-03-22 07:24:42 +08:00
|
|
|
"pdq2_devices": ["qc_q1_0", "qc_q1_1", "qc_q1_2", "qc_q1_3"],
|
2016-02-17 00:42:28 +08:00
|
|
|
"trigger_device": "ttl2",
|
|
|
|
"frame_devices": ["ttl3", "ttl4", "ttl5"]
|
2015-07-02 04:22:53 +08:00
|
|
|
}
|
2014-12-03 18:20:30 +08:00
|
|
|
},
|
|
|
|
|
2015-02-05 22:53:31 +08:00
|
|
|
"lda": {
|
|
|
|
"type": "controller",
|
2015-02-12 00:54:54 +08:00
|
|
|
"best_effort": true,
|
2015-02-05 22:53:31 +08:00
|
|
|
"host": "::1",
|
|
|
|
"port": 3253,
|
2015-08-09 17:12:06 +08:00
|
|
|
"command": "lda_controller -p {port} --bind {bind} --simulation"
|
2015-02-05 22:53:31 +08:00
|
|
|
},
|
|
|
|
|
2015-07-27 12:22:56 +08:00
|
|
|
"ttl_out": "ttl0",
|
2015-07-29 19:43:35 +08:00
|
|
|
"ttl_out_serdes": "ttl0",
|
2015-07-27 12:22:56 +08:00
|
|
|
|
2016-02-29 21:35:23 +08:00
|
|
|
"loop_out": "ttl0",
|
|
|
|
"loop_in": "ttl3",
|
2016-03-01 00:35:26 +08:00
|
|
|
"loop_clock_out": "ttl_clock_la32_p",
|
2016-02-29 21:35:23 +08:00
|
|
|
"loop_clock_in": "ttl7",
|
|
|
|
|
|
|
|
"pmt": "ttl3",
|
2015-05-08 22:17:06 +08:00
|
|
|
"bd_dds": "dds0",
|
|
|
|
"bd_sw": "ttl0",
|
|
|
|
"bdd_dds": "dds1",
|
|
|
|
"bdd_sw": "ttl1"
|
2014-12-03 18:20:30 +08:00
|
|
|
}
|