Fix perfcounter #1237 PR

This commit is contained in:
TulikaSi 2023-08-14 02:46:33 +05:30 committed by GitHub
parent a052d4f2d5
commit bd5f1f99c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -790,7 +790,9 @@ module cva6 import ariane_pkg::*; #(
.stall_issue_i ( stall_issue ),
.mcountinhibit_i ( mcountinhibit_csr_perf )
);
end
end : gen_perf_counter else begin: gen_no_perf_counter
assign data_perf_csr = '0;
end : gen_no_perf_counter
// ------------
// Controller