2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-19 00:16:29 +08:00

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 Sebastien Bourdeauducq
parent 3e7680e45b
commit 079d57b54d

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):