soc/add_sdcard: emulator clocking moved to litesdcard.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 3 Jun 2020 11:43:44 +0000 (13:43 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 3 Jun 2020 11:43:44 +0000 (13:43 +0200)
litex/soc/integration/soc.py

index 5f61cc95be5b3ec18fb25a0270f1c87abe37e868..e4db1e5084b49acce2b45229486730a0e989af3f 100644 (file)
@@ -1270,10 +1270,7 @@ class LiteXSoC(SoC):
         if hasattr(sdcard_pads, "rst"):
             self.comb += sdcard_pads.rst.eq(0)
         if with_emulator:
-            self.clock_domains.cd_sd    = ClockDomain("sd")
-            self.clock_domains.cd_sd_fb = ClockDomain("sd_fb")
-            self.comb += self.cd_sd.clk.eq(ClockSignal())
-            self.comb += self.cd_sd_fb.clk.eq(ClockSignal())
+            pass
         else:
             self.submodules.sdclk = SDClockerS7(sys_clk_freq=self.sys_clk_freq)
         self.submodules.sdphy   = SDPHY(sdcard_pads, self.platform.device)