targets/ac701: cpu_reset is active high

This commit is contained in:
Florent Kermarrec 2020-01-10 18:53:14 +01:00
parent ab01f70e5c
commit 94ba343daf
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class _CRG(Module):
# # # # # #
self.submodules.pll = pll = S7PLL(speedgrade=-1) self.submodules.pll = pll = S7PLL(speedgrade=-1)
self.comb += pll.reset.eq(~platform.request("cpu_reset")) self.comb += pll.reset.eq(platform.request("cpu_reset"))
pll.register_clkin(platform.request("clk200"), 200e6) pll.register_clkin(platform.request("clk200"), 200e6)
pll.create_clkout(self.cd_sys, sys_clk_freq) pll.create_clkout(self.cd_sys, sys_clk_freq)
pll.create_clkout(self.cd_sys4x, 4*sys_clk_freq) pll.create_clkout(self.cd_sys4x, 4*sys_clk_freq)