Merge pull request #488 from Icenowy/stlv7325-s7pll
sitlinv_stlv7325: use S7PLL instead of S7MMCM for system clock
This commit is contained in:
commit
a4925d14f9
|
@ -47,7 +47,7 @@ class _CRG(LiteXModule):
|
||||||
rst_n = platform.request("cpu_reset_n")
|
rst_n = platform.request("cpu_reset_n")
|
||||||
|
|
||||||
# PLL.
|
# PLL.
|
||||||
self.pll = pll = S7MMCM(speedgrade=-2)
|
self.pll = pll = S7PLL(speedgrade=-2)
|
||||||
self.comb += pll.reset.eq(~rst_n | self.rst)
|
self.comb += pll.reset.eq(~rst_n | self.rst)
|
||||||
pll.register_clkin(clk200, 200e6)
|
pll.register_clkin(clk200, 200e6)
|
||||||
pll.create_clkout(self.cd_sys, sys_clk_freq)
|
pll.create_clkout(self.cd_sys, sys_clk_freq)
|
||||||
|
|
Loading…
Reference in New Issue