nexys4ddr: enable pushbutton reset.
authorStuart Olsen <stuart@sj-olsen.com>
Tue, 17 Mar 2020 07:08:00 +0000 (00:08 -0700)
committerGitHub <noreply@github.com>
Tue, 17 Mar 2020 07:08:00 +0000 (07:08 +0000)
nmigen_boards/nexys4ddr.py

index d75963c0b88f75850b8504c29eb03079a3b985b2..02dc1016b33e7bf4d1d4a2caf388ef25dc3f7115 100644 (file)
@@ -14,9 +14,12 @@ class Nexys4DDRPlatform(Xilinx7SeriesPlatform):
     package     = "csg324"
     speed       = "1"
     default_clk = "clk100"
+    default_rst = "rst"
     resources   = [
         Resource("clk100", 0,
             Pins("E3", dir="i"), Clock(100e6), Attrs(IOSTANDARD="LVCMOS33")),
+        Resource("rst", 0,
+            PinsN("C12", dir="i"), Attrs(IOSTANDARD="LVCMOS33")),
 
         *SwitchResources(
             pins="J15 L16 M13 R15 R17 T18 U18 R13 T8  U8  R16 T13 H6  U12 U11 V10",