mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
soc/cores/bitbang: fix missing self.comb on miso.
This commit is contained in:
parent
a2d6986910
commit
ee27a9e534
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue