From 079d57b54d77f6fa76eff4bc7a130b5ae5a9150f Mon Sep 17 00:00:00 2001 From: Etienne Wodey Date: Wed, 16 Nov 2022 19:45:28 +0100 Subject: [PATCH] ddb_template: propagate fastino log2_width setting Signed-off-by: Etienne Wodey --- artiq/frontend/artiq_ddb_template.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_ddb_template.py b/artiq/frontend/artiq_ddb_template.py index b6d9294a3..87e20cc91 100755 --- a/artiq/frontend/artiq_ddb_template.py +++ b/artiq/frontend/artiq_ddb_template.py @@ -552,10 +552,11 @@ class PeripheralManager: "type": "local", "module": "artiq.coredevice.fastino", "class": "Fastino", - "arguments": {{"channel": 0x{channel:06x}}} + "arguments": {{"channel": 0x{channel:06x}, "log2_width": {log2_width}}} }}""", name=self.get_name("fastino"), - channel=rtio_offset) + channel=rtio_offset, + log2_width=peripheral["log2_width"]) return 1 def process_phaser(self, rtio_offset, peripheral):