Fix 2943 (#2945)
Some checks are pending
bender-up-to-date / bender-up-to-date (push) Waiting to run
ci / build-riscv-tests (push) Waiting to run
ci / execute-riscv64-tests (push) Blocked by required conditions
ci / execute-riscv32-tests (push) Blocked by required conditions

This commit is contained in:
AngelaGonzalezMarino 2025-04-23 13:52:04 +02:00 committed by GitHub
parent 733743da0f
commit eb3ff25f15
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -310,7 +310,7 @@ module cva6_shared_tlb #(
// check if translation is a: S-Stage and G-Stage, S-Stage only or G-Stage only translation and virtualization mode is on/off // check if translation is a: S-Stage and G-Stage, S-Stage only or G-Stage only translation and virtualization mode is on/off
match_stage[i] = shared_tag_rd[i].v_st_enbl == v_st_enbl[i_req_q][HYP_EXT*2:0]; match_stage[i] = shared_tag_rd[i].v_st_enbl == v_st_enbl[i_req_q][HYP_EXT*2:0];
if (shared_tag_valid[i] && match_asid && match_vmid && match_stage[i]) begin if (shared_tag_valid[i] && match_asid[i] && match_vmid[i] && match_stage[i]) begin
if (|level_match[i]) begin if (|level_match[i]) begin
shared_tlb_hit_d = 1'b1; shared_tlb_hit_d = 1'b1;
if (itlb_req_q) begin if (itlb_req_q) begin