Skip to content

Commit

Permalink
Fixed PMP_CNT sized ports
Browse files Browse the repository at this point in the history
  • Loading branch information
rherveille committed Sep 19, 2021
1 parent fa09cff commit e5c2809
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rtl/verilog/core/riscv_state1.10.sv
Expand Up @@ -92,8 +92,8 @@ module riscv_state1_10 #(
st_tsr, //trap SRET
output [XLEN -1:0] st_mcounteren,
st_scounteren,
output pmpcfg_t [15:0] st_pmpcfg,
output [15:0][XLEN -1:0] st_pmpaddr,
output pmpcfg_t [PMP_CNT-1:0] st_pmpcfg,
output [PMP_CNT-1:0][XLEN -1:0] st_pmpaddr,


//interrupts (3=M-mode, 0=U-mode)
Expand Down

0 comments on commit e5c2809

Please sign in to comment.