efinix_xyloni_dev_kit: Use PLL.

This commit is contained in:
Florent Kermarrec 2021-10-25 12:16:47 +02:00
parent 16a629269d
commit fc05379929

View file

@ -35,11 +35,7 @@ class _CRG(Module):
clk33 = platform.request("clk33")
rst_n = platform.request("user_btn", 0)
if sys_clk_freq == int(33.333e6):
self.comb += self.cd_sys.clk.eq(clk33)
self.specials += AsyncResetSynchronizer(self.cd_sys, ~rst_n)
else:
# PLL TODO: V1 simple pll not supported in infrastructure yet
# PLL.
self.submodules.pll = pll = TRIONPLL(platform)
self.comb += pll.reset.eq(~rst_n)
pll.register_clkin(clk33, 33.333e6)