Skip to content

Commit

Permalink
Merge pull request #236 from antmicro/kiryk/remove-lint-warning
Browse files Browse the repository at this point in the history
Remove lint warning
  • Loading branch information
tmichalak authored Sep 24, 2024
2 parents 97aff9a + 49a6a11 commit aae4eb7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions design/dec/el2_dec_pmp_ctl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,10 @@ module el2_dec_pmp_ctl
for (genvar entry_idx = 0; entry_idx < pt.PMP_ENTRIES; entry_idx++) begin : gen_pmpaddr_ff
logic pmpaddr_lock;
logic pmpaddr_lock_next;
assign pmpaddr_lock_next = ((entry_idx+1 < pt.PMP_ENTRIES)
? (entry_lock_eff[entry_idx+1]
& pmp_pmpcfg[entry_idx+1].mode == TOR)
: 1'b0);
if (entry_idx+1 < pt.PMP_ENTRIES)
assign pmpaddr_lock_next = entry_lock_eff[entry_idx+1] & pmp_pmpcfg[entry_idx+1].mode == TOR;
else
assign pmpaddr_lock_next = 1'b0;
assign pmpaddr_lock = entry_lock_eff[entry_idx] | pmpaddr_lock_next;
assign pmp_pmpaddr[entry_idx][31:30] = 2'b00;
rvdffe #(30) pmpaddr_ff (.*, .clk(free_l2clk),
Expand Down

0 comments on commit aae4eb7

Please sign in to comment.