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

140 lines
3.6 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",
"module": "artiq.coredevice.comm_tcp",
2014-12-03 18:20:30 +08:00
"class": "Comm",
"arguments": {"host": "192.168.0.42"}
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
},
"pmt0": {
2015-02-05 22:53:31 +08:00
"type": "local",
"module": "artiq.coredevice.ttl",
"class": "TTLInOut",
"arguments": {"channel": 0}
2014-12-03 18:20:30 +08:00
},
"pmt1": {
2015-02-05 22:53:31 +08:00
"type": "local",
"module": "artiq.coredevice.ttl",
"class": "TTLInOut",
"arguments": {"channel": 1}
2014-12-03 18:20:30 +08:00
},
"ttl0": {
2015-02-05 22:53:31 +08:00
"type": "local",
"module": "artiq.coredevice.ttl",
"class": "TTLOut",
"arguments": {"channel": 2}
2014-12-03 18:20:30 +08:00
},
"ttl1": {
2015-02-05 22:53:31 +08:00
"type": "local",
"module": "artiq.coredevice.ttl",
"class": "TTLOut",
"arguments": {"channel": 3}
2014-12-03 18:20:30 +08:00
},
"ttl2": {
2015-02-05 22:53:31 +08:00
"type": "local",
"module": "artiq.coredevice.ttl",
"class": "TTLOut",
"arguments": {"channel": 4}
2014-12-03 18:20:30 +08:00
},
2015-04-04 22:07:23 +08:00
"led": {
"type": "local",
"module": "artiq.coredevice.ttl",
"class": "TTLOut",
2015-04-04 22:07:23 +08:00
"arguments": {"channel": 18}
},
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",
"class": "DDS",
2015-06-20 05:30:17 +08:00
"arguments": {"sysclk": Quantity(Fraction(1000000000, 1), "Hz"),
"channel": 0}
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",
2015-06-20 05:30:17 +08:00
"arguments": {"sysclk": Quantity(Fraction(1000000000, 1), "Hz"),
"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",
"class": "DDS",
2015-06-20 05:30:17 +08:00
"arguments": {"sysclk": Quantity(Fraction(1000000000, 1), "Hz"),
"channel": 2}
2014-12-03 18:20:30 +08:00
},
"qc_q1_0": {
"type": "controller",
"best_effort": false,
"host": "::1",
"port": 4000,
"target_name": "pdq2",
"command": "pdq2_controller -p {port} --bind {bind} --dump qc_q1_0.bin"
},
"qc_q1_1": {
"type": "controller",
"best_effort": false,
"host": "::1",
"port": 4001,
"target_name": "pdq2",
"command": "pdq2_controller -p {port} --bind {bind} --dump qc_q1_1.bin"
},
"qc_q1_2": {
"type": "controller",
"best_effort": false,
"host": "::1",
"port": 4002,
"target_name": "pdq2",
"command": "pdq2_controller -p {port} --bind {bind} --dump qc_q1_2.bin"
},
"qc_q1_3": {
"type": "controller",
"best_effort": false,
"host": "::1",
"port": 4003,
"target_name": "pdq2",
"command": "pdq2_controller -p {port} --bind {bind} --dump qc_q1_3.bin"
},
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": {
"pdq2_devices": ["qc_q1_0", "qc_q1_1", "qc_q1_2", "qc_q1_3"],
2014-12-03 18:20:30 +08:00
"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}"
2015-02-05 22:53:31 +08:00
},
2014-12-03 18:20:30 +08:00
"pmt": "pmt0",
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
}