Merge pull request #373 from antonblanchard/icache-insn-u-state

icache: Don't output X on i_out.insn
pull/187/merge
Michael Neuling 2 years ago committed by GitHub
commit cd52390bf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -555,7 +555,11 @@ begin
-- I prefer not to do just yet as it would force fetch2 to know about -- I prefer not to do just yet as it would force fetch2 to know about
-- some of the cache geometry information. -- some of the cache geometry information.
-- --
if r.hit_valid = '1' then
i_out.insn <= read_insn_word(r.hit_nia, cache_out(r.hit_way)); i_out.insn <= read_insn_word(r.hit_nia, cache_out(r.hit_way));
else
i_out.insn <= (others => '0');
end if;
i_out.valid <= r.hit_valid; i_out.valid <= r.hit_valid;
i_out.nia <= r.hit_nia; i_out.nia <= r.hit_nia;
i_out.stop_mark <= r.hit_smark; i_out.stop_mark <= r.hit_smark;

Loading…
Cancel
Save