From 0df4878b17a37ff3af3b7b237b66b6746ceed815 Mon Sep 17 00:00:00 2001 From: Cole Poirier Date: Sun, 27 Sep 2020 09:22:06 -0700 Subject: [PATCH] icache.py fix translation mistake --- src/soc/experiment/icache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2