From: Luke Kenneth Casson Leighton Date: Mon, 14 Sep 2020 10:00:34 +0000 (+0100) Subject: use word_select X-Git-Tag: semi_working_ecp5~56 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f5a9f781527657a5c1e9cd44492b40893ab86694;p=soc.git use word_select --- diff --git a/src/soc/experiment/icache.py b/src/soc/experiment/icache.py index ba9f940e..53d165a3 100644 --- a/src/soc/experiment/icache.py +++ b/src/soc/experiment/icache.py @@ -365,7 +365,7 @@ def next_row(row): # in the current cache row def read_insn_word(addr, data): word = addr[2:INSN_BITS+3] - return data[word * 32:32 + word * 32] + return data.word_select(word, 32) # -- Get the tag value from the address # function get_tag(