From 8e3907682e4b918433ece663be0a082a455149c5 Mon Sep 17 00:00:00 2001 From: Enrico Zelioli Date: Tue, 22 Oct 2024 12:07:10 +0200 Subject: [PATCH] fixup! Add CLIC support (#10) --- core/include/cv32a65x_config_pkg.sv | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/include/cv32a65x_config_pkg.sv b/core/include/cv32a65x_config_pkg.sv index 9047d2f134..7864df241a 100644 --- a/core/include/cv32a65x_config_pkg.sv +++ b/core/include/cv32a65x_config_pkg.sv @@ -13,6 +13,8 @@ package cva6_config_pkg; localparam CVA6ConfigRvfiTrace = 1; + localparam CVA6ConfigSclicExtEn = 0; + localparam CVA6ConfigAxiIdWidth = 4; // axi_pkg.sv localparam CVA6ConfigAxiAddrWidth = 64; // axi_pkg.sv localparam CVA6ConfigAxiDataWidth = 64; // axi_pkg.sv @@ -45,6 +47,7 @@ package cva6_config_pkg; XFVec: bit'(0), CvxifEn: bit'(1), RVZiCond: bit'(0), + RVSCLIC: bit'(CVA6ConfigSclicExtEn), RVZicntr: bit'(0), RVZihpm: bit'(0), NrScoreboardEntries: unsigned'(8), @@ -65,6 +68,7 @@ package cva6_config_pkg; PMPAddrRstVal: {64{64'h0}}, PMPEntryReadOnly: 64'd0, NOCType: config_pkg::NOC_TYPE_AXI4_ATOP, + CLICNumInterruptSrc: unsigned'(256), NrNonIdempotentRules: unsigned'(0), NonIdempotentAddrBase: 1024'({64'b0, 64'b0}), NonIdempotentLength: 1024'({64'b0, 64'b0}),