From ee27a9e5340113de9fcbb91c160803c3677b6930 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 25 Feb 2020 15:56:27 +0100 Subject: [PATCH] soc/cores/bitbang: fix missing self.comb on miso. --- litex/soc/cores/bitbang.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/soc/cores/bitbang.py b/litex/soc/cores/bitbang.py index ba1531476..d2f62fa88 100644 --- a/litex/soc/cores/bitbang.py +++ b/litex/soc/cores/bitbang.py @@ -86,5 +86,5 @@ class SPIMaster(Module, AutoCSR): self._r.fields.mosi.eq(_mosi_r), ] if hasattr(pads, "miso"): - self._r.fields.miso.eq(pads.miso) + self.comb += self._r.fields.miso.eq(pads.miso) self.specials += Tristate(pads.mosi, _mosi_w, _mosi_oe, _mosi_r)