projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65ad441
)
only activate ld_in_progress if addr is ok
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 27 Jun 2020 20:35:27 +0000
(21:35 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 27 Jun 2020 20:35:27 +0000
(21:35 +0100)
src/soc/experiment/pi2ls.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/pi2ls.py
b/src/soc/experiment/pi2ls.py
index e52425d17f42c31a2dfc4b6f23b65eadc6047734..9356b9123ac83aaaa61512b1028ad10b84eeeeed 100644
(file)
--- a/
src/soc/experiment/pi2ls.py
+++ b/
src/soc/experiment/pi2ls.py
@@
-75,7
+75,7
@@
class Pi2LSUI(Elaboratable):
# indicate "OK" - XXX should be checking address valid
m.d.comb += pi.addr_ok_o.eq(1)
- with m.If(pi.is_ld_i):
+ with m.If(pi.is_ld_i
& pi.addr.ok
):
# shift/mask out the loaded data
m.d.comb += pi.ld.data.eq((lsui.m_ld_data_o & lenexp.rexp_o) >>
(lenexp.addr_i*8))