From: Cole Poirier Date: Sun, 27 Sep 2020 16:22:06 +0000 (-0700) Subject: icache.py fix translation mistake X-Git-Tag: 24jan2021_ls180~299 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0df4878b17a37ff3af3b7b237b66b6746ceed815;p=soc.git icache.py fix translation mistake --- diff --git a/src/soc/experiment/icache.py b/src/soc/experiment/icache.py index 9a6804f8..7621d9ec 100644 --- 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