diff --git a/core/include/ariane_pkg.sv b/core/include/ariane_pkg.sv index d750dc7ac2..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( - INSTR_PER_FETCH - ) : 1; + localparam int unsigned LOG2_INSTR_PER_FETCH = RVC == 1'b1 ? $clog2(INSTR_PER_FETCH) : 1; // --------------- // Enable BITMANIP