projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2d6986
)
soc/cores/bitbang: fix missing self.comb on miso.
author
Florent Kermarrec
<florent@enjoy-digital.fr>
Tue, 25 Feb 2020 14:56:27 +0000
(15:56 +0100)
committer
Florent Kermarrec
<florent@enjoy-digital.fr>
Tue, 25 Feb 2020 14:57:14 +0000
(15:57 +0100)
litex/soc/cores/bitbang.py
patch
|
blob
|
history
diff --git
a/litex/soc/cores/bitbang.py
b/litex/soc/cores/bitbang.py
index ba153147605a205c3a80d0626ec7b626d70948bd..d2f62fa886feba76e36a3ebe844310d2577d7cbc 100644
(file)
--- 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)