2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-27 04:08:27 +08:00
artiq/examples/master/ddb.pyon

98 lines
2.3 KiB
Plaintext
Raw Normal View History

2014-12-03 18:20:30 +08:00
{
"comm": {
2015-02-05 22:53:31 +08:00
"type": "local",
2014-12-03 18:20:30 +08:00
"module": "artiq.coredevice.comm_serial",
"class": "Comm",
"arguments": {}
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",
"arguments": {}
2014-12-03 18:20:30 +08:00
},
"led": {
2015-02-05 22:53:31 +08:00
"type": "local",
2014-12-03 18:20:30 +08:00
"module": "artiq.coredevice.gpio",
"class": "GPIOOut",
"arguments": {"channel": 0}
2014-12-03 18:20:30 +08:00
},
"pmt0": {
2015-02-05 22:53:31 +08:00
"type": "local",
2014-12-03 18:20:30 +08:00
"module": "artiq.coredevice.rtio",
"class": "RTIOIn",
"arguments": {"channel": 0}
2014-12-03 18:20:30 +08:00
},
"pmt1": {
2015-02-05 22:53:31 +08:00
"type": "local",
2014-12-03 18:20:30 +08:00
"module": "artiq.coredevice.rtio",
"class": "RTIOIn",
"arguments": {"channel": 1}
2014-12-03 18:20:30 +08:00
},
"ttl0": {
2015-02-05 22:53:31 +08:00
"type": "local",
2014-12-03 18:20:30 +08:00
"module": "artiq.coredevice.rtio",
"class": "RTIOOut",
"arguments": {"channel": 2}
2014-12-03 18:20:30 +08:00
},
"ttl1": {
2015-02-05 22:53:31 +08:00
"type": "local",
2014-12-03 18:20:30 +08:00
"module": "artiq.coredevice.rtio",
"class": "RTIOOut",
"arguments": {"channel": 3}
2014-12-03 18:20:30 +08:00
},
"ttl2": {
2015-02-05 22:53:31 +08:00
"type": "local",
2014-12-03 18:20:30 +08:00
"module": "artiq.coredevice.rtio",
"class": "RTIOOut",
"arguments": {"channel": 4}
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",
"class": "DDS",
"arguments": {"reg_channel": 0, "rtio_switch": 5}
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",
"class": "DDS",
"arguments": {"reg_channel": 1, "rtio_switch": 6}
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",
"class": "DDS",
"arguments": {"reg_channel": 2, "rtio_switch": 7}
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",
"arguments": {
2014-12-03 18:20:30 +08:00
"ids": ["qc_q1_0", "qc_q1_1", "qc_q1_2", "qc_q1_3"],
"rtio_trigger": 7,
"rtio_frame": (2, 3, 4)
},
"comment": "Conflicts with dds2 and ttl0-2"
},
2015-02-05 22:53:31 +08:00
"lda": {
"type": "controller",
"best_effort": true,
2015-02-05 22:53:31 +08:00
"host": "::1",
"port": 3253,
"target_name": "lda",
"command": "lda_controller -p {port} --bind {bind} -d sim"
2015-02-05 22:53:31 +08:00
},
2014-12-03 18:20:30 +08:00
"pmt": "pmt0",
"bd": "dds0",
"bdd": "dds1"
}