projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1032bac
)
fake up wishbone stall signal in icache.
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 5 Dec 2021 13:38:37 +0000
(13:38 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 5 Dec 2021 13:38:37 +0000
(13:38 +0000)
same thing is done in dcache
src/soc/experiment/icache.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/icache.py
b/src/soc/experiment/icache.py
index f84775622c4e9a4c8a704978cfe92188a72535e7..cf95633f19a3926811d8c4ec3dd18e7b0ff0e089 100644
(file)
--- a/
src/soc/experiment/icache.py
+++ b/
src/soc/experiment/icache.py
@@
-834,6
+834,10
@@
class ICache(Elaboratable):
plru_victim = PLRUOut()
replace_way = Signal(WAY_BITS)
+ # fake-up the wishbone stall signal to comply with pipeline mode
+ # same thing is done in dcache.py
+ comb += self.wb_in.stall.eq(self.wb_out.cyc & ~self.wb_in.ack)
+
# call sub-functions putting everything together,
# using shared signals established above
self.rams(m, r, cache_out_row, use_previous, replace_way, req_row)