projects
/
soc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65cb511
)
icache.py fix translation mistake
author
Cole Poirier
<colepoirier@gmail.com>
Sun, 27 Sep 2020 16:22:06 +0000
(09:22 -0700)
committer
Cole Poirier
<colepoirier@gmail.com>
Sun, 27 Sep 2020 16:22:29 +0000
(09:22 -0700)
src/soc/experiment/icache.py
patch
|
blob
|
history
diff --git
a/src/soc/experiment/icache.py
b/src/soc/experiment/icache.py
index 9a6804f88e3656973f995774ac79b8d961d92898..7621d9ec523c8413e378bc0b6e69b02220bc6e32 100644
(file)
--- a/
src/soc/experiment/icache.py
+++ b/
src/soc/experiment/icache.py
@@
-372,7
+372,7
@@
def next_row(row):
# Read the instruction word for the given address
# in the current cache row
def read_insn_word(addr, data):
- word = addr[2:INSN_BITS+
3
]
+ word = addr[2:INSN_BITS+
2
]
return data.word_select(word, 32)
# -- Get the tag value from the address