Skip to content

Commit

Permalink
Fix mismatch icache_req fetch_exception RVH signals
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierBetschi committed Nov 20, 2024
1 parent 59a97d6 commit e4cca2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/pmp/src/pmp_data_if.sv
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,9 @@ module pmp_data_if
lsu_exception_o.cause = riscv::LD_ACCESS_FAULT;
end
if (CVA6Cfg.RVH) begin
icache_areq_o.fetch_exception.tval2 = '0;
icache_areq_o.fetch_exception.tinst = '0;
icache_areq_o.fetch_exception.gva = ld_st_v_i;
lsu_exception_o.fetch_exception.tval2 = '0;
lsu_exception_o.fetch_exception.tinst = '0;
lsu_exception_o.fetch_exception.gva = ld_st_v_i;
end
end
end
Expand Down

0 comments on commit e4cca2c

Please sign in to comment.