mirror of https://github.com/m-labs/artiq.git
ddb_template: sampler cnv is ttl not spi
This commit is contained in:
parent
cfb5ef5548
commit
69c2acd9d7
|
@ -240,7 +240,7 @@ class PeripheralManager:
|
||||||
"class": "SPIMaster",
|
"class": "SPIMaster",
|
||||||
"arguments": {{"channel": 0x{pgia_channel:06x}}}
|
"arguments": {{"channel": 0x{pgia_channel:06x}}}
|
||||||
}}
|
}}
|
||||||
device_db["spi_{name}_cnv"] = {{
|
device_db["ttl_{name}_cnv"] = {{
|
||||||
"type": "local",
|
"type": "local",
|
||||||
"module": "artiq.coredevice.ttl",
|
"module": "artiq.coredevice.ttl",
|
||||||
"class": "TTLOut",
|
"class": "TTLOut",
|
||||||
|
@ -253,7 +253,7 @@ class PeripheralManager:
|
||||||
"arguments": {{
|
"arguments": {{
|
||||||
"spi_adc_device": "spi_{name}_adc",
|
"spi_adc_device": "spi_{name}_adc",
|
||||||
"spi_pgia_device": "spi_{name}_pgia",
|
"spi_pgia_device": "spi_{name}_pgia",
|
||||||
"cnv_device": "spi_{name}_cnv"
|
"cnv_device": "ttl_{name}_cnv"
|
||||||
}}
|
}}
|
||||||
}}""",
|
}}""",
|
||||||
name=self.get_name("sampler"),
|
name=self.get_name("sampler"),
|
||||||
|
|
Loading…
Reference in New Issue