From: Paul Mackerras Date: Sat, 16 Sep 2023 12:12:02 +0000 (+1000) Subject: icache: Fix instruction sent to log X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1b1367cd53d8ee4b48affdbe319f861d4312c29;p=microwatt.git icache: Fix instruction sent to log Log the instruction read from the icache, not the instruction (if any) being written to the icache. Fixes: 6db626d24547 ("icache: Log 36 bits of instruction rather than 32") Signed-off-by: Paul Mackerras --- diff --git a/icache.vhdl b/icache.vhdl index 6383726..e01eb35 100644 --- a/icache.vhdl +++ b/icache.vhdl @@ -625,7 +625,7 @@ begin end if; i_out.insn <= insn(31 downto 0); i_out.icode <= icode; - log_insn <= cache_wr_data(35 downto 0); + log_insn <= insn; i_out.valid <= r.hit_valid; i_out.nia <= r.hit_nia; i_out.stop_mark <= r.hit_smark;