integration/soc/add_sdcard: update SDEmulator.
This commit is contained in:
parent
996e9a9180
commit
e492e96bf7
|
@ -1257,10 +1257,9 @@ class LiteXSoC(SoC):
|
||||||
|
|
||||||
# Emulator / Pads
|
# Emulator / Pads
|
||||||
if with_emulator:
|
if with_emulator:
|
||||||
from litesdcard.emulator import SDEmulator, _sdemulator_pads
|
from litesdcard.emulator import SDEmulator
|
||||||
sdcard_pads = _sdemulator_pads()
|
self.submodules.sdemulator = SDEmulator(self.platform)
|
||||||
self.submodules.sdemulator = SDEmulator(self.platform, sdcard_pads)
|
sdcard_pads = self.sdemulator.pads
|
||||||
self.add_csr("sdemulator")
|
|
||||||
else:
|
else:
|
||||||
sdcard_pads = self.platform.request(name)
|
sdcard_pads = self.platform.request(name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue