numato_mimas: SW* are actually buttons.
authorwhitequark <whitequark@whitequark.org>
Wed, 18 Sep 2019 04:23:57 +0000 (04:23 +0000)
committerwhitequark <whitequark@whitequark.org>
Wed, 18 Sep 2019 04:25:36 +0000 (04:25 +0000)
nmigen_boards/numato_mimas.py

index 047a00b29d3915524305fed2e9545348a8e180dc..085a319f829a3cf019e26c5db767dfe29d85fda3 100644 (file)
@@ -35,13 +35,13 @@ class NumatoMimasPlatform(XilinxSpartan6Platform):
         Resource("user_led", 7, Pins("P111", dir="o"),
                  Attrs(IOSTANDARD="LVCMOS33")),
 
-        Resource("user_sw", 0, Pins("P124", dir="i"),
+        Resource("user_btn", 0, Pins("P124", dir="i"),
                  Attrs(IOSTANDARD="LVCMOS33", PULLUP="TRUE")),
-        Resource("user_sw", 1, Pins("P123", dir="i"),
+        Resource("user_btn", 1, Pins("P123", dir="i"),
                  Attrs(IOSTANDARD="LVCMOS33", PULLUP="TRUE")),
-        Resource("user_sw", 2, Pins("P121", dir="i"),
+        Resource("user_btn", 2, Pins("P121", dir="i"),
                  Attrs(IOSTANDARD="LVCMOS33", PULLUP="TRUE")),
-        Resource("user_sw", 3, Pins("P120", dir="i"),
+        Resource("user_btn", 3, Pins("P120", dir="i"),
                  Attrs(IOSTANDARD="LVCMOS33", PULLUP="TRUE")),
     ]
     connectors  = [