From 4cf346a1d4d258949894f51f8b41665a1b943d5e Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Fri, 18 Oct 2019 10:26:47 +0200 Subject: [PATCH] soc/cores/icap/ICAPBitstream: always keep fifo.source.ready to 1 --- litex/soc/cores/icap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/cores/icap.py b/litex/soc/cores/icap.py index 6c312dda4..5d7626b1a 100644 --- a/litex/soc/cores/icap.py +++ b/litex/soc/cores/icap.py @@ -112,9 +112,9 @@ class ICAPBitstream(Module, AutoCSR): self._csib = _csib = Signal(reset=1) self._i = _i = Signal(32, reset=0xffffffff) self.comb += [ + fifo.source.ready.eq(1), If(fifo.source.valid, _csib.eq(0), - fifo.source.ready.eq(1), _i.eq(fifo.source.data) ) ]