Skip to content
Snippets Groups Projects
Unverified Commit fbcecee1 authored by enjoy-digital's avatar enjoy-digital Committed by GitHub
Browse files

Merge pull request #242 from tcal-x/fix-basys3-rst

Basys3: Invert reset button, so that the board is reset when btnc is pushed.
parents 8c8e163e 5da2bdef
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ class _CRG(Module): ...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment