From b55af2156ba3380a7bed9eafeb33c64304179440 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 21 Apr 2021 13:38:00 +0200 Subject: [PATCH] soc/add_sdcard: Fix cmd_done signal. --- litex/soc/integration/soc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/integration/soc.py b/litex/soc/integration/soc.py index e9c715427..19a41cc37 100644 --- a/litex/soc/integration/soc.py +++ b/litex/soc/integration/soc.py @@ -1556,7 +1556,7 @@ class LiteXSoC(SoC): self.sdirq.card_detect.trigger.eq(self.sdphy.card_detect_irq), self.sdirq.block2mem_dma.trigger.eq(self.sdblock2mem.irq), self.sdirq.mem2block_dma.trigger.eq(self.sdmem2block.irq), - self.sdirq.cmd_done.trigger.eq(self.sdcore.cmd_done) + self.sdirq.cmd_done.trigger.eq(self.sdcore.cmd_event.fields.done) ] # Debug.