From a98304e5eb3fa0ce74cefa19b3453d6e76122b44 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 18 Sep 2019 04:23:57 +0000 Subject: [PATCH] numato_mimas: SW* are actually buttons. --- nmigen_boards/numato_mimas.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 = [ -- 2.30.2