projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3b3ef9
)
return read data out from Loadstore1 only when valid
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 27 Apr 2021 18:46:24 +0000
(19:46 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Tue, 27 Apr 2021 18:46:24 +0000
(19:46 +0100)
src/soc/fu/mmu/fsm.py
patch
|
blob
|
history
diff --git
a/src/soc/fu/mmu/fsm.py
b/src/soc/fu/mmu/fsm.py
index 3eea39cbbb43340eb857f8346c66c0fe1b3de1f9..31c01a595995739f8f1d06b22ff7b66886928f4b 100644
(file)
--- a/
src/soc/fu/mmu/fsm.py
+++ b/
src/soc/fu/mmu/fsm.py
@@
-64,8
+64,8
@@
class LoadStore1(PortInterfaceBase):
return st_ok
def get_rd_data(self, m):
- ld_ok =
Const(1, 1)
- data = self.d_out.data
+ ld_ok =
self.d_out.valid # indicates read data is valid
+ data = self.d_out.data
# actual read data
return data, ld_ok
"""