From: Florent Kermarrec Date: Wed, 3 Jun 2020 11:43:44 +0000 (+0200) Subject: soc/add_sdcard: emulator clocking moved to litesdcard. X-Git-Tag: 24jan2021_ls180~228 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c311f98cfa0543aba5894e2682f6b87c949b2767;p=litex.git soc/add_sdcard: emulator clocking moved to litesdcard. --- 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)