From 917f5af581bbe7e2707118b23b39d134b3e815e6 Mon Sep 17 00:00:00 2001 From: AngelaGonzalezMarino Date: Mon, 19 Feb 2024 16:05:38 +0100 Subject: [PATCH] linting --- core/mmu_unify/cva6_mmu.sv | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/core/mmu_unify/cva6_mmu.sv b/core/mmu_unify/cva6_mmu.sv index c50c158093..63b582728a 100644 --- a/core/mmu_unify/cva6_mmu.sv +++ b/core/mmu_unify/cva6_mmu.sv @@ -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)}, @@ -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