soc/add_spi_sdcard: Fix broken/useless add_module.
Was already useless before and raise a valid assertion.
This commit is contained in:
parent
e5f790f29f
commit
a1106b997e
|
@ -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.cs_n, spi_sdcard_pads.cs_n, ~tristate)
|
||||||
self.specials += Tristate(spi_sdcard_tristate_pads.mosi, spi_sdcard_pads.mosi, ~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.comb += spi_sdcard_pads.miso.eq(spi_sdcard_tristate_pads.miso)
|
||||||
self.add_module(name=f"{name}_tristate", module=tristate)
|
|
||||||
|
|
||||||
# Core.
|
# Core.
|
||||||
self.check_if_exists(name)
|
self.check_if_exists(name)
|
||||||
|
|
Loading…
Reference in New Issue