# Autogenerated for the nac3devices variant core_addr = "192.168.1.70" device_db = { "core": { "type": "local", "module": "artiq.coredevice.core", "class": "Core", "arguments": {"host": core_addr, "ref_period": 1e-09, "target": "rv32ima"}, }, "core_log": { "type": "controller", "host": "::1", "port": 1068, "command": "aqctl_corelog -p {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": "PCA9548", "arguments": {"address": 0xe0} }, "i2c_switch1": { "type": "local", "module": "artiq.coredevice.i2c", "class": "PCA9548", "arguments": {"address": 0xe2} }, } # standalone peripherals device_db["spi_zotino0"] = { "type": "local", "module": "artiq.coredevice.spi2", "class": "SPIMaster", "arguments": {"channel": 0x000000} } device_db["ttl_zotino0_ldac"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x000001} } device_db["ttl_zotino0_clr"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x000002} } device_db["zotino0"] = { "type": "local", "module": "artiq.coredevice.zotino", "class": "Zotino", "arguments": { "spi_device": "spi_zotino0", "ldac_device": "ttl_zotino0_ldac", "clr_device": "ttl_zotino0_clr" } } device_db["spi_mirny0"]={ "type": "local", "module": "artiq.coredevice.spi2", "class": "SPIMaster", "arguments": {"channel": 0x000003} } device_db["ttl_mirny0_sw0"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x000004} } device_db["ttl_mirny0_sw1"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x000005} } device_db["ttl_mirny0_sw2"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x000006} } device_db["ttl_mirny0_sw3"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x000007} } 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": 125000000.0, "clk_sel": "mmcx" }, } device_db["eeprom_urukul0"]={ "type": "local", "module": "artiq.coredevice.kasli_i2c", "class": "KasliEEPROM", "arguments": {"port": "EEM2"} } device_db["spi_urukul0"]={ "type": "local", "module": "artiq.coredevice.spi2", "class": "SPIMaster", "arguments": {"channel": 0x000008} } device_db["ttl_urukul0_io_update"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x000009} } device_db["ttl_urukul0_sw0"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x00000a} } device_db["ttl_urukul0_sw1"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x00000b} } device_db["ttl_urukul0_sw2"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x00000c} } device_db["ttl_urukul0_sw3"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x00000d} } device_db["urukul0_cpld"] = { "type": "local", "module": "artiq.coredevice.urukul", "class": "CPLD", "arguments": { "spi_device": "spi_urukul0", "sync_device": None, "io_update_device": "ttl_urukul0_io_update", "refclk": 125000000.0, "clk_sel": 2 } } device_db["urukul0_ch0"] = { "type": "local", "module": "artiq.coredevice.ad9912", "class": "AD9912", "arguments": { "pll_n": 8, "chip_select": 4, "cpld_device": "urukul0_cpld", "sw_device": "ttl_urukul0_sw0" } } device_db["urukul0_ch1"] = { "type": "local", "module": "artiq.coredevice.ad9912", "class": "AD9912", "arguments": { "pll_n": 8, "chip_select": 5, "cpld_device": "urukul0_cpld", "sw_device": "ttl_urukul0_sw1" } } device_db["urukul0_ch2"] = { "type": "local", "module": "artiq.coredevice.ad9912", "class": "AD9912", "arguments": { "pll_n": 8, "chip_select": 6, "cpld_device": "urukul0_cpld", "sw_device": "ttl_urukul0_sw2" } } device_db["urukul0_ch3"] = { "type": "local", "module": "artiq.coredevice.ad9912", "class": "AD9912", "arguments": { "pll_n": 8, "chip_select": 7, "cpld_device": "urukul0_cpld", "sw_device": "ttl_urukul0_sw3" } } device_db["led0"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x00000e} } device_db["led1"] = { "type": "local", "module": "artiq.coredevice.ttl", "class": "TTLOut", "arguments": {"channel": 0x00000f} }