Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
AngelaGonzalezMarino committed Dec 19, 2023
1 parent 8fabb0c commit 8ce746c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions core/mmu_unify/cva6_ptw.sv
Original file line number Diff line number Diff line change
Expand Up @@ -326,14 +326,13 @@ genvar x;
// this is a pointer to the next TLB level
end else begin
// pointer to next level of page table
if (ptw_lvl_q == PT_LEVELS-1) begin
if (ptw_lvl_q == PT_LEVELS - 1) begin
// Should already be the last level page table => Error
ptw_lvl_n = PT_LEVELS-1;
ptw_lvl_n = PT_LEVELS - 1;
state_d = PROPAGATE_ERROR;
end
else begin
end else begin
// we are in the second level now
ptw_lvl_n = ptw_lvl_q+1;
ptw_lvl_n = ptw_lvl_q + 1;
ptw_pptr_n = {pte.ppn, vaddr_lvl[ptw_lvl_q], (PT_LEVELS)'(0)};
state_d = WAIT_GRANT;
end
Expand Down

0 comments on commit 8ce746c

Please sign in to comment.