From a017dafee6511e85dd7b95bd36b808c596b8503f Mon Sep 17 00:00:00 2001 From: occheung Date: Tue, 15 Dec 2020 10:38:56 +0800 Subject: [PATCH] ddb_template: mirny_cpld: add default value Signed-off-by: Oi Chee Cheung --- artiq/frontend/artiq_ddb_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_ddb_template.py b/artiq/frontend/artiq_ddb_template.py index 8c19cacd3..15d584fb1 100755 --- a/artiq/frontend/artiq_ddb_template.py +++ b/artiq/frontend/artiq_ddb_template.py @@ -280,8 +280,8 @@ class PeripheralManager: }}, }}""", name=mirny_name, - refclk=peripheral.get("refclk", self.master_description.get("rtio_frequency", 125e6)), - clk_sel=peripheral["clk_sel"]) + refclk=peripheral.get("refclk", 100e6), + clk_sel=peripheral.get("clk_sel", 0)) return next(channel)