[Libre-soc-bugs] [Bug 469] Create D-cache from microwatt dcache.vhdl
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Fri Aug 21 22:11:40 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=469
--- Comment #3 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
# subtype way_t is integer range 0 to NUM_WAYS-1;
therefore wherever you *see* way_t, replace it with "NUM_WAYS".
# hit_way : way_t;
self.hit_way = Signal(WAY)
no - this needs to be:
self.hit_way = Signal(NUM_WAYS)
likewise:
# forward_row1 : row_t;
self.forward_row1 = Signal(ROW)
no - look at the definition of row_t:
# subtype row_t is integer range 0 to BRAM_ROWS-1;
therefore that needs to be:
self.forward_row1 = Signal(BRAM_ROWS)
etc. etc. exactly the same for INDEX, and probably CACHE_TAG as well.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list