soc/cores/icap/ICAPBitstream: always keep fifo.source.ready to 1

This commit is contained in:
Florent Kermarrec 2019-10-18 10:26:47 +02:00
parent 39862f068e
commit 4cf346a1d4
1 changed files with 1 additions and 1 deletions

View File

@ -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)
)
]