forked from M-Labs/artiq
artiq_ddb_template: fix mistake in 18524911
This commit is contained in:
parent
57e87c9717
commit
20e8f17b3d
|
@ -567,10 +567,10 @@ class PeripheralManager:
|
||||||
def process_phaser(self, rtio_offset, peripheral):
|
def process_phaser(self, rtio_offset, peripheral):
|
||||||
mode = peripheral.get("mode", "base")
|
mode = peripheral.get("mode", "base")
|
||||||
if mode == "miqro":
|
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
|
n_channels = 3
|
||||||
else:
|
else:
|
||||||
dac = f', "gw_rev"={PHASER_GW_BASE}'
|
dac = f', "gw_rev": {PHASER_GW_BASE}'
|
||||||
n_channels = 5
|
n_channels = 5
|
||||||
self.gen("""
|
self.gen("""
|
||||||
device_db["{name}"] = {{
|
device_db["{name}"] = {{
|
||||||
|
|
Loading…
Reference in New Issue