2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 11:18:27 +08:00

artiq_ddb_template: fix mistake in 18524911

This commit is contained in:
Sebastien Bourdeauducq 2023-01-15 12:26:52 +08:00
parent 287e55c08a
commit 9e8167e1fa

View File

@ -539,10 +539,10 @@ class PeripheralManager:
def process_phaser(self, rtio_offset, peripheral):
mode = peripheral.get("mode", "base")
if mode == "miqro":
dac = f', "dac": {{"pll_m": 16, "pll_n": 3, "interpolation": 2}}, "gw_rev"={PHASER_GW_MIQRO}'
dac = f', "dac": {{"pll_m": 16, "pll_n": 3, "interpolation": 2}}, "gw_rev": {PHASER_GW_MIQRO}'
n_channels = 3
else:
dac = f', "gw_rev"={PHASER_GW_BASE}'
dac = f', "gw_rev": {PHASER_GW_BASE}'
n_channels = 5
self.gen("""
device_db["{name}"] = {{