diff --git a/core/include/ariane_pkg.sv b/core/include/ariane_pkg.sv index 446f609a61..c9cdbf6384 100644 --- a/core/include/ariane_pkg.sv +++ b/core/include/ariane_pkg.sv @@ -165,9 +165,7 @@ package ariane_pkg; localparam int unsigned FETCH_WIDTH = 32; // maximum instructions we can fetch on one request (we support compressed instructions) localparam int unsigned INSTR_PER_FETCH = RVC == 1'b1 ? (FETCH_WIDTH / 16) : 1; - localparam int unsigned LOG2_INSTR_PER_FETCH = RVC == 1'b1 ? $clog2( - ariane_pkg::INSTR_PER_FETCH - ) : 1; + localparam int unsigned LOG2_INSTR_PER_FETCH = RVC == 1'b1 ? $clog2(INSTR_PER_FETCH) : 1; // --------------- // Enable BITMANIP