mirror of
https://github.com/saymrwulf/litex-boards.git
synced 2026-11-18 09:41:45 +00:00
Invert reset button, so that board is reset when btn is pushed.
Signed-off-by: Tim Callahan <tcal@google.com>
This commit is contained in:
parent
4b48f15265
commit
5da2bdefb7
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ class _CRG(Module):
|
||||||
self.clock_domains.cd_vga = ClockDomain(reset_less=True)
|
self.clock_domains.cd_vga = ClockDomain(reset_less=True)
|
||||||
|
|
||||||
self.submodules.pll = pll = S7MMCM(speedgrade=-1)
|
self.submodules.pll = pll = S7MMCM(speedgrade=-1)
|
||||||
self.comb += pll.reset.eq(~platform.request("user_btnc") | self.rst)
|
self.comb += pll.reset.eq(platform.request("user_btnc") | self.rst)
|
||||||
|
|
||||||
pll.register_clkin(platform.request("clk100"), 100e6)
|
pll.register_clkin(platform.request("clk100"), 100e6)
|
||||||
pll.create_clkout(self.cd_sys, sys_clk_freq)
|
pll.create_clkout(self.cd_sys, sys_clk_freq)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue