soc/add_spi_sdcard: Fix broken/useless add_module.

Was already useless before and raise a valid assertion.
This commit is contained in:
Florent Kermarrec 2023-06-04 08:19:15 +02:00
parent e5f790f29f
commit a1106b997e
1 changed files with 0 additions and 1 deletions

View File

@ -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)