From 69c2acd9d75bb7e5a90c5cc2f341503a4650d1f3 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 9 Sep 2019 14:57:42 +0800 Subject: [PATCH] ddb_template: sampler cnv is ttl not spi --- artiq/frontend/artiq_ddb_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_ddb_template.py b/artiq/frontend/artiq_ddb_template.py index 04813ad9e..edc8afd0f 100755 --- a/artiq/frontend/artiq_ddb_template.py +++ b/artiq/frontend/artiq_ddb_template.py @@ -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"),