ddb_template: propagate fastino log2_width setting

Signed-off-by: Etienne Wodey <etienne.wodey@aqt.eu>
This commit is contained in:
Etienne Wodey 2022-11-16 19:45:28 +01:00 committed by Sébastien Bourdeauducq
parent 2fe02cee6f
commit d45f9b6950
1 changed files with 3 additions and 2 deletions

View File

@ -552,10 +552,11 @@ class PeripheralManager:
"type": "local", "type": "local",
"module": "artiq.coredevice.fastino", "module": "artiq.coredevice.fastino",
"class": "Fastino", "class": "Fastino",
"arguments": {{"channel": 0x{channel:06x}}} "arguments": {{"channel": 0x{channel:06x}, "log2_width": {log2_width}}}
}}""", }}""",
name=self.get_name("fastino"), name=self.get_name("fastino"),
channel=rtio_offset) channel=rtio_offset,
log2_width=peripheral["log2_width"])
return 1 return 1
def process_phaser(self, rtio_offset, peripheral): def process_phaser(self, rtio_offset, peripheral):