Skip to content

Commit

Permalink
Removed NUM_MHPMCOUNTERS from mimpid computation.
Browse files Browse the repository at this point in the history
Signed-off-by: Pascal Gouedo <[email protected]>
  • Loading branch information
Pascal Gouedo committed Aug 3, 2023
1 parent 260feb4 commit 0491837
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rtl/cv32e40p_cs_registers.sv
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ module cv32e40p_cs_registers

// mimpid, Machine Implementation ID
CSR_MIMPID: begin
csr_rdata_int = (FPU || COREV_PULP || COREV_CLUSTER || (NUM_MHPMCOUNTERS > 1)) ? 32'h1 : 'b0;
csr_rdata_int = (FPU || COREV_PULP || COREV_CLUSTER) ? 32'h1 : 'b0;
end

// unimplemented, read 0 CSRs
Expand Down

0 comments on commit 0491837

Please sign in to comment.