From c311f98cfa0543aba5894e2682f6b87c949b2767 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 3 Jun 2020 13:43:44 +0200 Subject: [PATCH] soc/add_sdcard: emulator clocking moved to litesdcard. --- litex/soc/integration/soc.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index 5f61cc95..e4db1e50 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -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) -- 2.30.2