From 6b9d29aeaa417b5426d5209a3b28f49deb0af41b Mon Sep 17 00:00:00 2001 From: andriami <41752043+andriami@users.noreply.github.com> Date: Mon, 8 Jan 2024 20:02:07 +0100 Subject: [PATCH] Reformat the ariane_pkg to fix synthesis crash (#1750) Modify ariane_pkg.sv following issue #1726. --- core/include/ariane_pkg.sv | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/include/ariane_pkg.sv b/core/include/ariane_pkg.sv index 446f609a61e..c9cdbf63847 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