From: whitequark Date: Wed, 18 Sep 2019 04:23:57 +0000 (+0000) Subject: numato_mimas: SW* are actually buttons. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a98304e5eb3fa0ce74cefa19b3453d6e76122b44;p=nmigen-boards.git numato_mimas: SW* are actually buttons. --- diff --git a/nmigen_boards/numato_mimas.py b/nmigen_boards/numato_mimas.py index 047a00b..085a319 100644 --- a/nmigen_boards/numato_mimas.py +++ b/nmigen_boards/numato_mimas.py @@ -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 = [