mirror of
https://github.com/litex-hub/litex-boards.git
synced 2025-01-03 03:43:36 -05:00
efinix_xyloni_dev_kit: Use PLL.
This commit is contained in:
parent
16a629269d
commit
fc05379929
1 changed files with 5 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue