From fab0b0b161e4c1474ff85104a263b85a095e19a6 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 16 Mar 2015 22:11:15 +0100 Subject: [PATCH] mibuild/platforms: add user_dip_btn to versa --- mibuild/platforms/versa.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mibuild/platforms/versa.py b/mibuild/platforms/versa.py index 050afb4f9..43c925fd8 100644 --- a/mibuild/platforms/versa.py +++ b/mibuild/platforms/versa.py @@ -17,6 +17,15 @@ _io = [ ("user_led", 6, Pins("AB20"), IOStandard("LVCMOS33")), ("user_led", 7, Pins("AA20"), IOStandard("LVCMOS33")), + ("user_dip_btn", 0, Pins("J7"), IOStandard("LVCMOS15")), + ("user_dip_btn", 1, Pins("J6"), IOStandard("LVCMOS15")), + ("user_dip_btn", 2, Pins("H2"), IOStandard("LVCMOS15")), + ("user_dip_btn", 3, Pins("H3"), IOStandard("LVCMOS15")), + ("user_dip_btn", 4, Pins("J3"), IOStandard("LVCMOS15")), + ("user_dip_btn", 5, Pins("K3"), IOStandard("LVCMOS15")), + ("user_dip_btn", 6, Pins("J2"), IOStandard("LVCMOS15")), + ("user_dip_btn", 7, Pins("J1"), IOStandard("LVCMOS15")), + ("serial", 0, Subsignal("tx", Pins("B11"), IOStandard("LVCMOS33")), # X4 IO0 Subsignal("rx", Pins("B12"), IOStandard("LVCMOS33")), # X4 IO1