hackaday_hadbadge: Lower PLL's PFD Min from 10MHz to 8MHz.

This is now required since ECP5PLL now checks that PFD is in required range.
This commit is contained in:
Florent Kermarrec 2021-07-28 12:25:17 +02:00
parent 6ce5db1b90
commit 64eadd8012
1 changed files with 1 additions and 0 deletions

View File

@ -45,6 +45,7 @@ class _CRG(Module):
# PLL
self.submodules.pll = pll = ECP5PLL()
pll.pfd_freq_range = (8e6, 400e6) # Lower Min from 10MHz to 8MHz.
self.comb += pll.reset.eq(self.rst)
pll.register_clkin(clk8, 8e6)
pll.create_clkout(self.cd_sys, sys_clk_freq)