Reformat the ariane_pkg to fix synthesis crash (#1750)

Modify ariane_pkg.sv following issue #1726.
This commit is contained in:
andriami 2024-01-08 20:02:07 +01:00 committed by GitHub
parent c430c6c34b
commit 59177e37d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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