ddb_template: sampler cnv is ttl not spi

This commit is contained in:
Sebastien Bourdeauducq 2019-09-09 14:57:42 +08:00
parent cfb5ef5548
commit 69c2acd9d7
1 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ class PeripheralManager:
"class": "SPIMaster",
"arguments": {{"channel": 0x{pgia_channel:06x}}}
}}
device_db["spi_{name}_cnv"] = {{
device_db["ttl_{name}_cnv"] = {{
"type": "local",
"module": "artiq.coredevice.ttl",
"class": "TTLOut",
@ -253,7 +253,7 @@ class PeripheralManager:
"arguments": {{
"spi_adc_device": "spi_{name}_adc",
"spi_pgia_device": "spi_{name}_pgia",
"cnv_device": "spi_{name}_cnv"
"cnv_device": "ttl_{name}_cnv"
}}
}}""",
name=self.get_name("sampler"),