Skip to content

Commit

Permalink
[RTL] Fix ICache set configuration for 2-core mempool tile.
Browse files Browse the repository at this point in the history
  • Loading branch information
liyinrong committed Oct 24, 2024
1 parent f89b812 commit b43eaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/src/mempool_pkg.sv
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ package mempool_pkg;
***********************/

localparam int unsigned ICacheSizeByte = 512 * NumCoresPerCache; // Total Size of instruction cache in bytes
localparam int unsigned ICacheSets = NumCoresPerCache / 2; // Number of sets
localparam int unsigned ICacheSets = (NumCoresPerCache == 2) ? 2 : NumCoresPerCache / 2; // Number of sets
localparam int unsigned ICacheLineWidth = 32 * 2 * NumCoresPerCache; // Size of each cache line in bits

/*********************
Expand Down

0 comments on commit b43eaf3

Please sign in to comment.