From ee413527ac080a53837664fd54dc31987933d10e Mon Sep 17 00:00:00 2001 From: shuffle2 Date: Mon, 4 May 2020 01:10:09 -0700 Subject: [PATCH] diamond: quiet warning about missing clkin freq for EHXPLLL FREQUENCY_PIN_CLKI should be given in mhz --- litex/soc/cores/clock.py | 1 + 1 file changed, 1 insertion(+) diff --git a/litex/soc/cores/clock.py b/litex/soc/cores/clock.py index 97f83c7b..321768e6 100644 --- a/litex/soc/cores/clock.py +++ b/litex/soc/cores/clock.py @@ -676,6 +676,7 @@ class ECP5PLL(Module): clkfb = Signal() self.params.update( attr=[ + ("FREQUENCY_PIN_CLKI", str(self.clkin_freq/1e6)), ("ICP_CURRENT", "6"), ("LPF_RESISTOR", "16"), ("MFG_ENABLE_FILTEROPAMP", "1"), -- 2.30.2