From cdacba06d1e1932d6007bce0b8603607db7f6d5a Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 14 Jan 2022 19:16:31 +0100 Subject: [PATCH] soc/add_spi_sdcard: Fix missing renaming when rst pin is present. --- litex/soc/integration/soc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 266a87af6..d784b6584 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -1560,7 +1560,7 @@ class LiteXSoC(SoC): # Pads. spi_sdcard_pads = self.platform.request(name) if hasattr(spi_sdcard_pads, "rst"): - self.comb += pads.rst.eq(0) + self.comb += spi_sdcard_pads.rst.eq(0) # Tristate (Optional). if with_tristate: