147 lines
3.6 KiB
Python
Executable File
147 lines
3.6 KiB
Python
Executable File
device_db = {
|
|
"core": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.core",
|
|
"class": "Core",
|
|
"arguments": {"host": "lalala", "ref_period": 1/(125e6), "ref_multiplier": 1}
|
|
},
|
|
|
|
"ttl0": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ttl",
|
|
"class": "TTLInOut",
|
|
"arguments": {"channel": 0},
|
|
},
|
|
|
|
|
|
|
|
"spi_urukul0": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.spi2",
|
|
"class": "SPIMaster",
|
|
"arguments": {"channel": 12}
|
|
},
|
|
"ttl_urukul0_io_update": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ttl",
|
|
"class": "TTLOut",
|
|
"arguments": {"channel": 13}
|
|
},
|
|
"urukul0_cpld": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.urukul",
|
|
"class": "CPLD",
|
|
"arguments": {
|
|
"spi_device": "spi_urukul0",
|
|
"io_update_device": "ttl_urukul0_io_update",
|
|
"refclk": 125e6,
|
|
"clk_sel": 1
|
|
}
|
|
},
|
|
"urukul0_ch0": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ad9910",
|
|
"class": "AD9910",
|
|
"arguments": {
|
|
"pll_n": 32,
|
|
"chip_select": 4,
|
|
"cpld_device": "urukul0_cpld",
|
|
}
|
|
},
|
|
"urukul0_ch1": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ad9910",
|
|
"class": "AD9910",
|
|
"arguments": {
|
|
"pll_n": 32,
|
|
"chip_select": 5,
|
|
"cpld_device": "urukul0_cpld",
|
|
}
|
|
},
|
|
"urukul0_ch2": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ad9910",
|
|
"class": "AD9910",
|
|
"arguments": {
|
|
"pll_n": 32,
|
|
"chip_select": 6,
|
|
"cpld_device": "urukul0_cpld",
|
|
}
|
|
},
|
|
"urukul0_ch3": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ad9910",
|
|
"class": "AD9910",
|
|
"arguments": {
|
|
"pll_n": 32,
|
|
"chip_select": 7,
|
|
"cpld_device": "urukul0_cpld",
|
|
}
|
|
},
|
|
|
|
|
|
|
|
"spi_urukul1": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.spi2",
|
|
"class": "SPIMaster",
|
|
"arguments": {"channel": 17}
|
|
},
|
|
"ttl_urukul1_io_update": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ttl",
|
|
"class": "TTLOut",
|
|
"arguments": {"channel": 18}
|
|
},
|
|
"urukul1_cpld": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.urukul",
|
|
"class": "CPLD",
|
|
"arguments": {
|
|
"spi_device": "spi_urukul1",
|
|
"io_update_device": "ttl_urukul1_io_update",
|
|
"refclk": 125e6,
|
|
"clk_sel": 1
|
|
}
|
|
},
|
|
"urukul1_ch0": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ad9910",
|
|
"class": "AD9910",
|
|
"arguments": {
|
|
"pll_n": 32,
|
|
"chip_select": 4,
|
|
"cpld_device": "urukul1_cpld",
|
|
}
|
|
},
|
|
"urukul1_ch1": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ad9910",
|
|
"class": "AD9910",
|
|
"arguments": {
|
|
"pll_n": 32,
|
|
"chip_select": 5,
|
|
"cpld_device": "urukul1_cpld",
|
|
}
|
|
},
|
|
"urukul1_ch2": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ad9910",
|
|
"class": "AD9910",
|
|
"arguments": {
|
|
"pll_n": 32,
|
|
"chip_select": 6,
|
|
"cpld_device": "urukul1_cpld",
|
|
}
|
|
},
|
|
"urukul1_ch3": {
|
|
"type": "local",
|
|
"module": "artiq.coredevice.ad9910",
|
|
"class": "AD9910",
|
|
"arguments": {
|
|
"pll_n": 32,
|
|
"chip_select": 7,
|
|
"cpld_device": "urukul1_cpld",
|
|
}
|
|
},
|
|
} |