sayma: set RTIO_FREQUENCY in MasterDAC

This commit is contained in:
Sebastien Bourdeauducq 2019-01-28 13:43:28 +08:00
parent 443d6d8688
commit 47312e55d3

View File

@ -153,6 +153,7 @@ class MasterDAC(MiniSoC, AMPSoC, RTMCommon):
self.config["HAS_SI5324"] = None
self.config["SI5324_AS_SYNTHESIZER"] = None
self.config["SI5324_SAYMA_REF"] = None
self.config["RTIO_FREQUENCY"] = str(rtio_clk_freq/1e6)
# ensure pins are properly biased and terminated
si5324_clkout = platform.request("si5324_clkout", 0)
self.specials += Instance(