From d45f9b6950b1a6e09b0910d2223d06293b50256d 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 5459756fe..275c6e42e 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):