mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-22 13:17:41 -04:00
add WT dcache wbuff size configuration (#1130)
This commit is contained in:
parent
849419fac8
commit
ea4b51eac7
9 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
// ---------------
|
||||
|
|
|
@ -43,6 +43,8 @@ package cva6_config_pkg;
|
|||
|
||||
localparam CVA6ConfigDcacheIdWidth = 1;
|
||||
|
||||
localparam CVA6ConfigWtDcacheWbufDepth = 8;
|
||||
|
||||
localparam CVA6ConfigNrCommitPorts = 1;
|
||||
localparam CVA6ConfigNrScoreboardEntries = 4;
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@ package cva6_config_pkg;
|
|||
|
||||
localparam CVA6ConfigDcacheIdWidth = 1;
|
||||
|
||||
localparam CVA6ConfigWtDcacheWbufDepth = 2;
|
||||
|
||||
localparam CVA6ConfigNrCommitPorts = 1;
|
||||
localparam CVA6ConfigNrScoreboardEntries = 4;
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@ package cva6_config_pkg;
|
|||
|
||||
localparam CVA6ConfigDcacheIdWidth = 1;
|
||||
|
||||
localparam CVA6ConfigWtDcacheWbufDepth = 8;
|
||||
|
||||
localparam CVA6ConfigNrCommitPorts = 2;
|
||||
localparam CVA6ConfigNrScoreboardEntries = 8;
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@ package cva6_config_pkg;
|
|||
|
||||
localparam CVA6ConfigDcacheIdWidth = 1;
|
||||
|
||||
localparam CVA6ConfigWtDcacheWbufDepth = 8;
|
||||
|
||||
localparam CVA6ConfigNrCommitPorts = 2;
|
||||
localparam CVA6ConfigNrScoreboardEntries = 8;
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@ package cva6_config_pkg;
|
|||
|
||||
localparam CVA6ConfigDcacheIdWidth = 1;
|
||||
|
||||
localparam CVA6ConfigWtDcacheWbufDepth = 8;
|
||||
|
||||
localparam CVA6ConfigNrCommitPorts = 2;
|
||||
localparam CVA6ConfigNrScoreboardEntries = 8;
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@ package cva6_config_pkg;
|
|||
|
||||
localparam CVA6ConfigDcacheIdWidth = 1;
|
||||
|
||||
localparam CVA6ConfigWtDcacheWbufDepth = 8;
|
||||
|
||||
localparam CVA6ConfigNrCommitPorts = 2;
|
||||
localparam CVA6ConfigNrScoreboardEntries = 8;
|
||||
|
||||
|
|
|
@ -43,6 +43,8 @@ package cva6_config_pkg;
|
|||
|
||||
localparam CVA6ConfigDcacheIdWidth = 1;
|
||||
|
||||
localparam CVA6ConfigWtDcacheWbufDepth = 8;
|
||||
|
||||
localparam CVA6ConfigNrCommitPorts = 2;
|
||||
localparam CVA6ConfigNrScoreboardEntries = 8;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue