Skip to content

Commit

Permalink
WIP: Lint off unsigned
Browse files Browse the repository at this point in the history
  • Loading branch information
kiryk committed Nov 25, 2024
1 parent 6f889c0 commit 78e35f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions design/el2_pmp.sv
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,14 @@ module el2_pmp

// PMP entries are statically prioritized, from 0 to N-1
// The lowest-numbered PMP entry which matches an address determines accessibility
/* verilator lint_off UNSIGNED */
for (int r = 0; r < pt.PMP_ENTRIES; r++) begin
if (!matched && match_all[r]) begin
access_fail = ~final_perm_check[r];
matched = 1'b1;
end
end
/* verilator lint_on UNSIGNED */
return access_fail;
endfunction

Expand Down

0 comments on commit 78e35f5

Please sign in to comment.