add WT dcache wbuff size configuration (#1130)

This commit is contained in:
sébastien jacq 2023-03-22 12:28:08 +01:00 committed by GitHub
parent 849419fac8
commit ea4b51eac7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 17 additions and 1 deletions

View file

@ -469,6 +469,8 @@ package ariane_pkg;
localparam int unsigned DCACHE_TID_WIDTH = cva6_config_pkg::CVA6ConfigDcacheIdWidth;
`endif
localparam int unsigned WT_DCACHE_WBUF_DEPTH = cva6_config_pkg::CVA6ConfigWtDcacheWbufDepth;
// ---------------
// EX Stage
// ---------------

View file

@ -43,6 +43,8 @@ package cva6_config_pkg;
localparam CVA6ConfigDcacheIdWidth = 1;
localparam CVA6ConfigWtDcacheWbufDepth = 8;
localparam CVA6ConfigNrCommitPorts = 1;
localparam CVA6ConfigNrScoreboardEntries = 4;

View file

@ -43,6 +43,8 @@ package cva6_config_pkg;
localparam CVA6ConfigDcacheIdWidth = 1;
localparam CVA6ConfigWtDcacheWbufDepth = 2;
localparam CVA6ConfigNrCommitPorts = 1;
localparam CVA6ConfigNrScoreboardEntries = 4;

View file

@ -43,6 +43,8 @@ package cva6_config_pkg;
localparam CVA6ConfigDcacheIdWidth = 1;
localparam CVA6ConfigWtDcacheWbufDepth = 8;
localparam CVA6ConfigNrCommitPorts = 2;
localparam CVA6ConfigNrScoreboardEntries = 8;

View file

@ -43,6 +43,8 @@ package cva6_config_pkg;
localparam CVA6ConfigDcacheIdWidth = 1;
localparam CVA6ConfigWtDcacheWbufDepth = 8;
localparam CVA6ConfigNrCommitPorts = 2;
localparam CVA6ConfigNrScoreboardEntries = 8;

View file

@ -43,6 +43,8 @@ package cva6_config_pkg;
localparam CVA6ConfigDcacheIdWidth = 1;
localparam CVA6ConfigWtDcacheWbufDepth = 8;
localparam CVA6ConfigNrCommitPorts = 2;
localparam CVA6ConfigNrScoreboardEntries = 8;

View file

@ -43,6 +43,8 @@ package cva6_config_pkg;
localparam CVA6ConfigDcacheIdWidth = 1;
localparam CVA6ConfigWtDcacheWbufDepth = 8;
localparam CVA6ConfigNrCommitPorts = 2;
localparam CVA6ConfigNrScoreboardEntries = 8;

View file

@ -43,6 +43,8 @@ package cva6_config_pkg;
localparam CVA6ConfigDcacheIdWidth = 1;
localparam CVA6ConfigWtDcacheWbufDepth = 8;
localparam CVA6ConfigNrCommitPorts = 2;
localparam CVA6ConfigNrScoreboardEntries = 8;

View file

@ -69,7 +69,7 @@ package wt_cache_pkg;
localparam DCACHE_NUM_BANKS_WIDTH = $clog2(DCACHE_NUM_BANKS);
// write buffer parameterization
localparam DCACHE_WBUF_DEPTH = 8;
localparam DCACHE_WBUF_DEPTH = ariane_pkg::WT_DCACHE_WBUF_DEPTH;
localparam DCACHE_MAX_TX = 2**L15_TID_WIDTH;
localparam CACHE_ID_WIDTH = L15_TID_WIDTH;