forked from M-Labs/artiq
1
0
Fork 0

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
1 changed files with 2 additions and 2 deletions

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}"] = {{