platforms/nexys_video: add sdcard pins, move clk/rst to top.

This commit is contained in:
Florent Kermarrec 2020-05-20 13:05:18 +02:00
parent 83457b8791
commit 76551dec4c
1 changed files with 13 additions and 4 deletions

View File

@ -8,6 +8,10 @@ from litex.build.openocd import OpenOCD
# IOs ---------------------------------------------------------------------------------------------- # IOs ----------------------------------------------------------------------------------------------
_io = [ _io = [
("clk100", 0, Pins("R4"), IOStandard("LVCMOS33")),
("cpu_reset", 0, Pins("G4"), IOStandard("LVCMOS15")),
("user_led", 0, Pins("T14"), IOStandard("LVCMOS25")), ("user_led", 0, Pins("T14"), IOStandard("LVCMOS25")),
("user_led", 1, Pins("T15"), IOStandard("LVCMOS25")), ("user_led", 1, Pins("T15"), IOStandard("LVCMOS25")),
("user_led", 2, Pins("T16"), IOStandard("LVCMOS25")), ("user_led", 2, Pins("T16"), IOStandard("LVCMOS25")),
@ -46,16 +50,21 @@ _io = [
IOStandard("LVCMOS33") IOStandard("LVCMOS33")
), ),
("clk100", 0, Pins("R4"), IOStandard("LVCMOS33")),
("cpu_reset", 0, Pins("G4"), IOStandard("LVCMOS15")),
("serial", 0, ("serial", 0,
Subsignal("tx", Pins("AA19")), Subsignal("tx", Pins("AA19")),
Subsignal("rx", Pins("V18")), Subsignal("rx", Pins("V18")),
IOStandard("LVCMOS33"), IOStandard("LVCMOS33"),
), ),
("sdcard", 0,
Subsignal("rst", Pins("V20"), Misc("PULLUP True")),
Subsignal("data", Pins("V19 T21 T20 U18"), Misc("PULLUP True")),
Subsignal("cmd", Pins("W20"), Misc("PULLUP True")),
Subsignal("clk", Pins("W19")),
Misc("SLEW=FAST"),
IOStandard("LVCMOS33"),
),
("ddram", 0, ("ddram", 0,
Subsignal("a", Pins( Subsignal("a", Pins(
"M2 M5 M3 M1 L6 P1 N3 N2", "M2 M5 M3 M1 L6 P1 N3 N2",