platform/arty: also update spisdcard.

This commit is contained in:
Florent Kermarrec 2020-06-16 20:15:12 +02:00
parent 7a8b0b743d
commit 0ecb8609b3
1 changed files with 8 additions and 8 deletions

View File

@ -145,18 +145,18 @@ _io = [
),
]
_sdcard_pmod_io = [ # https://store.digilentinc.com/pmod-microsd-microsd-card-slot/
_sdcard_pmod_io = [
# SDCard PMOD on JD:
# - https://store.digilentinc.com/pmod-microsd-microsd-card-slot/
# - https://github.com/antmicro/arty-expansion-board
("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")),
Subsignal("clk", Pins("F3")),
Subsignal("mosi", Pins("D3"), Misc("PULLUP True")),
Subsignal("cs_n", Pins("D4"), Misc("PULLUP True")),
Subsignal("miso", Pins("F4"), Misc("PULLUP True")),
Misc("SLEW=FAST"),
IOStandard("LVCMOS33"),
),
# Pmod JD:
# https://github.com/antmicro/arty-expansion-board
# https://store.digilentinc.com/pmod-microsd-microsd-card-slot/
("sdcard", 0,
Subsignal("data", Pins("F4 E2 D2 D4")),
Subsignal("cmd", Pins("D3")),