platforms/arty: add spisdcard to _sdcard_pmod_io.

This commit is contained in:
Florent Kermarrec 2020-06-10 17:38:16 +02:00
parent 00c8e40d02
commit b6df166f5a
1 changed files with 13 additions and 4 deletions

View File

@ -146,12 +146,21 @@ _io = [
]
_sdcard_pmod_io = [ # https://store.digilentinc.com/pmod-microsd-microsd-card-slot/
("spisdcard", 0,
Subsignal("clk", Pins("C15")),
Subsignal("mosi", Pins("E16"), Misc("PULLUP True")),
Subsignal("cs_n", Pins("E15"), Misc("PULLUP True")),
Subsignal("miso", Pins("D15"), Misc("PULLUP True")),
Misc("SLEW=FAST"),
IOStandard("LVCMOS33"),
),
("sdcard", 0,
Subsignal("data", Pins("D15 J17 J18 E15")),
Subsignal("cmd", Pins("E16")),
Subsignal("clk", Pins("C15")),
Subsignal("cd", Pins("K15")),
IOStandard("LVCMOS33"), Misc("SLEW=FAST")
Misc("SLEW=FAST"),
IOStandard("LVCMOS33"),
),
]