From a1106b997e33c2783a9088bfbc87e34b8b0de54c Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sun, 4 Jun 2023 08:19:15 +0200 Subject: [PATCH] soc/add_spi_sdcard: Fix broken/useless add_module. Was already useless before and raise a valid assertion. --- litex/soc/integration/soc.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 698fab697..7a3f6eacb 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -1813,7 +1813,6 @@ class LiteXSoC(SoC): self.specials += Tristate(spi_sdcard_tristate_pads.cs_n, spi_sdcard_pads.cs_n, ~tristate) self.specials += Tristate(spi_sdcard_tristate_pads.mosi, spi_sdcard_pads.mosi, ~tristate) self.comb += spi_sdcard_pads.miso.eq(spi_sdcard_tristate_pads.miso) - self.add_module(name=f"{name}_tristate", module=tristate) # Core. self.check_if_exists(name)