mibuild/platforms: add user_dip_btn to versa
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 16 Mar 2015 21:11:15 +0000 (22:11 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Mon, 16 Mar 2015 21:11:15 +0000 (22:11 +0100)
mibuild/platforms/versa.py

index 050afb4f9c5b429aadda9536f74089314f96f4f0..43c925fd8921444ffd363cb36e547ac5ac7c3b02 100644 (file)
@@ -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