diamond: quiet warning about missing clkin freq for EHXPLLL
authorshuffle2 <godisgovernment@gmail.com>
Mon, 4 May 2020 08:10:09 +0000 (01:10 -0700)
committerGitHub <noreply@github.com>
Mon, 4 May 2020 08:10:09 +0000 (01:10 -0700)
FREQUENCY_PIN_CLKI should be given in mhz

litex/soc/cores/clock.py

index 97f83c7ba6631d2967afcc5febb2ac4717585a7f..321768e6c02ecf53f9408137a3bc684c1c096ddd 100644 (file)
@@ -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"),