Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelaGonzalezMarino committed Feb 19, 2024
1 parent a457a7b commit 917f5af
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions core/mmu_unify/cva6_mmu.sv
Original file line number Diff line number Diff line change
Expand Up @@ -464,8 +464,7 @@ module cva6_mmu
enable_translation_i[2*HYP_EXT],
1'b1
};
else
if (HYP_EXT==1)
else if (HYP_EXT==1)
icache_areq_o.fetch_exception = {
riscv::INSTR_PAGE_FAULT,
{riscv::XLEN'(update_vaddr)},
Expand All @@ -490,8 +489,11 @@ module cva6_mmu
enable_translation_i[HYP_EXT*2],
1'b1
};
else
icache_areq_o.fetch_exception = {riscv::INSTR_ACCESS_FAULT, ptw_bad_paddr[0][riscv::PLEN-1:(riscv::PLEN > riscv::VLEN) ? (riscv::PLEN - riscv::VLEN) : 0], 1'b1};
else icache_areq_o.fetch_exception = {
riscv::INSTR_ACCESS_FAULT,
ptw_bad_paddr[0][riscv::PLEN-1:(riscv::PLEN > riscv::VLEN) ? (riscv::PLEN - riscv::VLEN) : 0],
1'b1
};
end
end
end
Expand Down

0 comments on commit 917f5af

Please sign in to comment.