mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
targets: pass speedgrade to S7PLL/S7MMCM
This commit is contained in:
parent
2581a00380
commit
86e19e6232
5 changed files with 5 additions and 5 deletions
|
@ -25,7 +25,7 @@ class _CRG(Module):
|
|||
self.clock_domains.cd_sys4x_dqs = ClockDomain(reset_less=True)
|
||||
self.clock_domains.cd_clk200 = ClockDomain()
|
||||
|
||||
self.submodules.pll = pll = S7PLL()
|
||||
self.submodules.pll = pll = S7PLL(speedgrade=-1)
|
||||
self.comb += pll.reset.eq(~platform.request("cpu_reset"))
|
||||
pll.register_clkin(platform.request("clk100"), 100e6)
|
||||
pll.create_clkout(self.cd_sys, sys_clk_freq)
|
||||
|
|
|
@ -24,7 +24,7 @@ class _CRG(Module):
|
|||
self.clock_domains.cd_sys4x = ClockDomain(reset_less=True)
|
||||
self.clock_domains.cd_clk200 = ClockDomain()
|
||||
|
||||
self.submodules.pll = pll = S7MMCM()
|
||||
self.submodules.pll = pll = S7MMCM(speedgrade=-2)
|
||||
self.comb += pll.reset.eq(~platform.request("cpu_reset_n"))
|
||||
pll.register_clkin(platform.request("clk200"), 200e6)
|
||||
pll.create_clkout(self.cd_sys, sys_clk_freq)
|
||||
|
|
|
@ -24,7 +24,7 @@ class _CRG(Module):
|
|||
self.clock_domains.cd_sys4x = ClockDomain(reset_less=True)
|
||||
self.clock_domains.cd_clk200 = ClockDomain()
|
||||
|
||||
self.submodules.pll = pll = S7MMCM()
|
||||
self.submodules.pll = pll = S7MMCM(speedgrade=-2)
|
||||
self.comb += pll.reset.eq(platform.request("cpu_reset"))
|
||||
pll.register_clkin(platform.request("clk200"), 200e6)
|
||||
pll.create_clkout(self.cd_sys, sys_clk_freq)
|
||||
|
|
|
@ -23,7 +23,7 @@ class _CRG(Module):
|
|||
self.clock_domains.cd_clk200 = ClockDomain()
|
||||
self.clock_domains.cd_clk100 = ClockDomain()
|
||||
|
||||
self.submodules.pll = pll = S7MMCM()
|
||||
self.submodules.pll = pll = S7MMCM(speedgrade=-1)
|
||||
self.comb += pll.reset.eq(~platform.request("cpu_reset"))
|
||||
pll.register_clkin(platform.request("clk100"), 100e6)
|
||||
pll.create_clkout(self.cd_sys, sys_clk_freq)
|
||||
|
|
|
@ -26,7 +26,7 @@ class _CRG(Module):
|
|||
self.clock_domains.cd_clk200 = ClockDomain()
|
||||
self.clock_domains.cd_clk100 = ClockDomain()
|
||||
|
||||
self.submodules.pll = pll = S7MMCM()
|
||||
self.submodules.pll = pll = S7MMCM(speedgrade=-1)
|
||||
self.comb += pll.reset.eq(~platform.request("cpu_reset"))
|
||||
pll.register_clkin(platform.request("clk100"), 100e6)
|
||||
pll.create_clkout(self.cd_sys, sys_clk_freq)
|
||||
|
|
Loading…
Reference in a new issue