projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00f347e
)
src/soc/fu/ldst/loadstore.py: keep data for the whole cycle
author
Tobias Platen
<tplaten@posteo.de>
Fri, 18 Jun 2021 17:40:05 +0000
(19:40 +0200)
committer
Tobias Platen
<tplaten@posteo.de>
Fri, 18 Jun 2021 17:40:05 +0000
(19:40 +0200)
src/soc/fu/ldst/loadstore.py
patch
|
blob
|
history
diff --git
a/src/soc/fu/ldst/loadstore.py
b/src/soc/fu/ldst/loadstore.py
index d699ffea2504aea5bbbbfb768ffe70c3b46749a6..7cff898743703d902cee7ddeaf0028a7a514cc23 100644
(file)
--- a/
src/soc/fu/ldst/loadstore.py
+++ b/
src/soc/fu/ldst/loadstore.py
@@
-289,11
+289,12
@@
class LoadStore1(PortInterfaceBase):
if hasattr(dbus, "stall"):
comb += dcache.wb_in.stall.eq(dbus.stall)
- #
write out d data only
when flag set
+ #
update out d data
when flag set
with m.If(self.d_w_valid):
m.d.sync += d_out.data.eq(self.store_data)
- with m.Else():
- m.d.sync += d_out.data.eq(0)
+ #with m.Else():
+ # m.d.sync += d_out.data.eq(0)
+ # unit test passes with that change
# this must move into the FSM, conditionally noticing that
# the "blip" comes from self.d_validblip.