# Autogenerated for the your_json variant core_addr = "192.168.1.199" device_db = { "core": { "type": "local", "module": "artiq.coredevice.core", "class": "Core", "arguments": {"host": core_addr, "ref_period": 1e-09, "target": "rv32g"}, }, "core_log": { "type": "controller", "host": "::1", "port": 1068, "command": "aqctl_corelog -p {port} --bind {bind} " + core_addr }, "core_moninj": { "type": "controller", "host": "::1", "port_proxy": 1383, "port": 1384, "command": "aqctl_moninj_proxy --port-proxy {port_proxy} --port-control {port} --bind {bind} " + core_addr }, "core_cache": { "type": "local", "module": "artiq.coredevice.cache", "class": "CoreCache" }, "core_dma": { "type": "local", "module": "artiq.coredevice.dma", "class": "CoreDMA" }, "i2c_switch0": { "type": "local", "module": "artiq.coredevice.i2c", "class": "I2CSwitch", "arguments": {"address": 0xe0} }, "i2c_switch1": { "type": "local", "module": "artiq.coredevice.i2c", "class": "I2CSwitch", "arguments": {"address": 0xe2} }, } # standalone peripherals device_db["grabber0"] = { "type": "local", "module": "artiq.coredevice.grabber", "class": "Grabber", "arguments": {"channel_base": 0x000000} } device_db["phaser0"] = { "type": "local", "module": "artiq.coredevice.phaser", "class": "Phaser", "arguments": { "channel_base": 0x000002, "miso_delay": 1, } } device_db["spi_mirny0"]={ "type": "local", "module": "artiq.coredevice.spi2", "class": "SPIMaster", "arguments": {"channel": 0x000007} } device_db["ttl_mirny0_sw0"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x000008} } device_db["ttl_mirny0_sw1"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x000009} } device_db["ttl_mirny0_sw2"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x00000a} } device_db["ttl_mirny0_sw3"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x00000b} } device_db["mirny0_ch0"] = { "type": "local", "module": "artiq.coredevice.adf5356", "class": "ADF5356", "arguments": { "channel": 0, "sw_device": "ttl_mirny0_sw0", "cpld_device": "mirny0_cpld", } } device_db["mirny0_ch1"] = { "type": "local", "module": "artiq.coredevice.adf5356", "class": "ADF5356", "arguments": { "channel": 1, "sw_device": "ttl_mirny0_sw1", "cpld_device": "mirny0_cpld", } } device_db["mirny0_ch2"] = { "type": "local", "module": "artiq.coredevice.adf5356", "class": "ADF5356", "arguments": { "channel": 2, "sw_device": "ttl_mirny0_sw2", "cpld_device": "mirny0_cpld", } } device_db["mirny0_ch3"] = { "type": "local", "module": "artiq.coredevice.adf5356", "class": "ADF5356", "arguments": { "channel": 3, "sw_device": "ttl_mirny0_sw3", "cpld_device": "mirny0_cpld", } } device_db["mirny0_cpld"] = { "type": "local", "module": "artiq.coredevice.mirny", "class": "Mirny", "arguments": { "spi_device": "spi_mirny0", "refclk": 100000000.0, "clk_sel": 0 }, } device_db["led0"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x00000c} } device_db["led1"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x00000d} }