From 0ee4b215b99b8efe30a8e6e97f959a5248acc1c2 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 21 Jul 2020 15:23:08 +0200 Subject: [PATCH] trellisboard/ulx3s: fix sdcard slewrate. --- litex_boards/platforms/trellisboard.py | 5 +++-- litex_boards/platforms/ulx3s.py | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/litex_boards/platforms/trellisboard.py b/litex_boards/platforms/trellisboard.py index cf9c3cd..03b780b 100644 --- a/litex_boards/platforms/trellisboard.py +++ b/litex_boards/platforms/trellisboard.py @@ -145,7 +145,7 @@ _io = [ Subsignal("mosi", Pins("AH3"), Misc("PULLMODE=UP")), Subsignal("cs_n", Pins("AK1"), Misc("PULLMODE=UP")), Subsignal("miso", Pins("AG1"), Misc("PULLMODE=UP")), - Misc("SLEW=FAST"), + Misc("SLEWRATE=FAST"), IOStandard("LVCMOS33"), ), @@ -153,7 +153,8 @@ _io = [ Subsignal("clk", Pins("AK3")), Subsignal("cmd", Pins("AH3"), Misc("PULLMODE=UP")), Subsignal("data", Pins("AG1 AJ1 AH1 AK1"), Misc("PULLMODE=UP")), - IOStandard("LVCMOS33"), Misc("SLEW=FAST") + Misc("SLEWRATE=FAST"), + IOStandard("LVCMOS33"), ), ("spiflash4x", 0, diff --git a/litex_boards/platforms/ulx3s.py b/litex_boards/platforms/ulx3s.py index 388ae0f..ed82b71 100644 --- a/litex_boards/platforms/ulx3s.py +++ b/litex_boards/platforms/ulx3s.py @@ -38,7 +38,8 @@ _io = [ Subsignal("clk", Pins("J1")), Subsignal("cmd", Pins("J3"), Misc("PULLMODE=UP")), Subsignal("data", Pins("K2 K1 H2 H1"), Misc("PULLMODE=UP")), - IOStandard("LVCMOS33"), Misc("SLEW=FAST") + Misc("SLEWRATE=FAST"), + IOStandard("LVCMOS33"), ), ("sdram_clock", 0, Pins("F19"),