Increase DCRqNum for test

This commit is contained in:
Louis Hobson
2025-03-10 16:53:04 +00:00
committed by Jonathan Woodruff
parent a08a701805
commit 04ee741ce2
2 changed files with 5 additions and 0 deletions

View File

@@ -116,6 +116,7 @@
// L1
`define LOG_L1_LINES 6 // 2KB
`define LOG_L1_WAYS 1 // 2 ways
`define L1D_CRQ_NUM 8 // 8 L1D MSHRs
// LLC
`define LOG_LLC_LINES 8 // 8KB

View File

@@ -103,7 +103,11 @@ typedef Bit#(DIndexSz) DIndex;
typedef GetTagSz#(LgDBankNum, LgDSetNum) DTagSz;
typedef Bit#(DTagSz) DTag;
`ifdef L1D_CRQ_NUM
typedef `L1D_CRQ_NUM DCRqNum;
`else
typedef L1WayNum DCRqNum;
`endif
typedef 4 DPRqNum; // match cache pipeline latency
typedef Bit#(TLog#(DCRqNum)) DCRqMshrIdx;
typedef Bit#(TLog#(DPRqNum)) DPRqMshrIdx;