[Libre-soc-bugs] [Bug 485] Create I-Cache from microwatt icache.vhdl

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Sep 29 16:51:55 BST 2020


https://bugs.libre-soc.org/show_bug.cgi?id=485

--- Comment #5 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
1119 #                 -- Process cache invalidations
1120 #                 if inval_in = '1' then
1121 #                     for i in index_t loop
1122 #                         cache_valids(i) <= (others => '0');
1123 #                     end loop;
1124 #                     r.store_valid <= '0';
1125 #                 end if;
1126         # Process cache invalidations
1127         with m.If(inval_in):
1128             for i in range(NUM_LINES):
1129                 sync += cache_valid_bits[i].eq(~1)

line 1122 says "set to zero".  why set to ~1?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the libre-soc-bugs mailing list