mirror of https://github.com/m-labs/artiq.git
artiq_ddb_template: fix pll_vco indentation
This commit is contained in:
parent
62985fbd29
commit
d79a6ee41c
|
@ -177,7 +177,7 @@ class PeripheralManager:
|
||||||
name=urukul_name,
|
name=urukul_name,
|
||||||
chip_select=4 + i,
|
chip_select=4 + i,
|
||||||
uchn=i,
|
uchn=i,
|
||||||
pll_vco=",\n\"pll_vco\": {}".format(pll_vco) if pll_vco is not None else "")
|
pll_vco=",\n \"pll_vco\": {}".format(pll_vco) if pll_vco is not None else "")
|
||||||
elif dds == "ad9912":
|
elif dds == "ad9912":
|
||||||
self.gen("""
|
self.gen("""
|
||||||
device_db["{name}_ch{uchn}"] = {{
|
device_db["{name}_ch{uchn}"] = {{
|
||||||
|
@ -194,7 +194,7 @@ class PeripheralManager:
|
||||||
name=urukul_name,
|
name=urukul_name,
|
||||||
chip_select=4 + i,
|
chip_select=4 + i,
|
||||||
uchn=i,
|
uchn=i,
|
||||||
pll_vco=",\n\"pll_vco\": {}".format(pll_vco) if pll_vco is not None else "")
|
pll_vco=",\n \"pll_vco\": {}".format(pll_vco) if pll_vco is not None else "")
|
||||||
else:
|
else:
|
||||||
raise ValueError
|
raise ValueError
|
||||||
return next(channel)
|
return next(channel)
|
||||||
|
|
Loading…
Reference in New Issue