Skip to content

Commit

Permalink
Syntax fix for clean lint (multibit signal used as boolean)
Browse files Browse the repository at this point in the history
  • Loading branch information
calebofearth committed Nov 13, 2024
1 parent e713cae commit 8e36d8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riscv_core/veer_el2/rtl/dec/el2_dec_pmp_ctl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ module el2_dec_pmp_ctl
`ifdef RV_SMEPMP
assign csr_wdata = raw_wdata & 8'b10011111;
`else
assign csr_wdata = (raw_wdata & 8'b00000001) ? (raw_wdata & 8'b10011111) : (raw_wdata & 8'b10011101);
assign csr_wdata = raw_wdata[0] ? (raw_wdata & 8'b10011111) : (raw_wdata & 8'b10011101);
`endif

rvdffe #(8) pmpcfg_ff (.*, .clk(free_l2clk),
Expand Down

0 comments on commit 8e36d8f

Please sign in to comment.