From a86d1b28281623b7d2d33cdd5fefc5f54f2a57e6 Mon Sep 17 00:00:00 2001 From: Cairo Caplan Date: Mon, 17 Feb 2025 16:11:09 +0100 Subject: [PATCH] [rtl] Changed the default number of performance counters from 0 to 10 (#214) --- rtl/cve2_core.sv | 2 +- rtl/cve2_top.sv | 2 +- rtl/cve2_top_tracing.sv | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rtl/cve2_core.sv b/rtl/cve2_core.sv index b0f3ad3d74..0675cbf8f0 100644 --- a/rtl/cve2_core.sv +++ b/rtl/cve2_core.sv @@ -16,7 +16,7 @@ module cve2_core import cve2_pkg::*; #( parameter bit PMPEnable = 1'b0, parameter int unsigned PMPGranularity = 0, parameter int unsigned PMPNumRegions = 4, - parameter int unsigned MHPMCounterNum = 0, + parameter int unsigned MHPMCounterNum = 10, parameter int unsigned MHPMCounterWidth = 40, parameter bit RV32E = 1'b0, parameter rv32m_e RV32M = RV32MFast, diff --git a/rtl/cve2_top.sv b/rtl/cve2_top.sv index 34af60b7b3..99de27a4b7 100644 --- a/rtl/cve2_top.sv +++ b/rtl/cve2_top.sv @@ -13,7 +13,7 @@ * Top level module of the ibex RISC-V core */ module cve2_top import cve2_pkg::*; #( - parameter int unsigned MHPMCounterNum = 0, + parameter int unsigned MHPMCounterNum = 10, parameter int unsigned MHPMCounterWidth = 40, parameter bit RV32E = 1'b0, parameter rv32m_e RV32M = RV32MFast, diff --git a/rtl/cve2_top_tracing.sv b/rtl/cve2_top_tracing.sv index 7589bc3a48..2bfaf2adbd 100644 --- a/rtl/cve2_top_tracing.sv +++ b/rtl/cve2_top_tracing.sv @@ -7,7 +7,7 @@ */ module cve2_top_tracing import cve2_pkg::*; #( - parameter int unsigned MHPMCounterNum = 0, + parameter int unsigned MHPMCounterNum = 10, parameter int unsigned MHPMCounterWidth = 40, parameter bit RV32E = 1'b0, parameter rv32m_e RV32M = RV32MFast,