From: Florent Kermarrec Date: Tue, 25 Feb 2020 14:56:27 +0000 (+0100) Subject: soc/cores/bitbang: fix missing self.comb on miso. X-Git-Tag: 24jan2021_ls180~633 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee27a9e5340113de9fcbb91c160803c3677b6930;p=litex.git soc/cores/bitbang: fix missing self.comb on miso. --- diff --git a/litex/soc/cores/bitbang.py b/litex/soc/cores/bitbang.py index ba153147..d2f62fa8 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)