[breaking-change] mercury: update leftover user_btn resources.
authorwhitequark <whitequark@whitequark.org>
Fri, 11 Oct 2019 14:44:19 +0000 (14:44 +0000)
committerwhitequark <whitequark@whitequark.org>
Fri, 11 Oct 2019 14:53:54 +0000 (14:53 +0000)
nmigen_boards/mercury.py

index 85bfb1db81f9a0cbafceb0193dc7a19846d0f6c1..5daf8020b06c896e3581ebecf0c834f8b9b37c81 100644 (file)
@@ -34,7 +34,7 @@ class MercuryPlatform(XilinxSpartan3APlatform):
         Resource("clk50", 0, Pins("P43", dir="i"),
                  Attrs(IOSTANDARD="LVCMOS33"), Clock(50e6)),
 
-        Resource("user_btn", 0, Pins("P41", dir="i"),
+        Resource("button", 0, Pins("P41", dir="i"),
                  Attrs(IOSTANDARD="LVTTL")),
 
         # The serial interface and flash memory have a shared SPI bus.