shrink queue sizes

This commit is contained in:
Richard Yan
2024-05-07 13:54:23 -07:00
parent b70df8cbc9
commit 1e5dff52c1

View File

@@ -238,7 +238,7 @@
// Issue width // Issue width
`ifndef ISSUE_WIDTH `ifndef ISSUE_WIDTH
`define ISSUE_WIDTH `MIN(`NUM_WARPS, 8) `define ISSUE_WIDTH `NUM_WARPS
`endif `endif
// Number of ALU units // Number of ALU units
@@ -246,7 +246,7 @@
`define NUM_ALU_LANES `NUM_THREADS `define NUM_ALU_LANES `NUM_THREADS
`endif `endif
`ifndef NUM_ALU_BLOCKS `ifndef NUM_ALU_BLOCKS
`define NUM_ALU_BLOCKS `ISSUE_WIDTH `define NUM_ALU_BLOCKS 4
`endif `endif
// Number of FPU units // Number of FPU units
@@ -254,7 +254,7 @@
`define NUM_FPU_LANES `NUM_THREADS `define NUM_FPU_LANES `NUM_THREADS
`endif `endif
`ifndef NUM_FPU_BLOCKS `ifndef NUM_FPU_BLOCKS
`define NUM_FPU_BLOCKS `ISSUE_WIDTH `define NUM_FPU_BLOCKS 2
`endif `endif
// Number of LSU units // Number of LSU units
@@ -269,12 +269,12 @@
// Size of Instruction Buffer // Size of Instruction Buffer
`ifndef IBUF_SIZE `ifndef IBUF_SIZE
`define IBUF_SIZE (8 * (`NUM_WARPS / `ISSUE_WIDTH)) `define IBUF_SIZE (4 * `ISSUE_WIDTH)
`endif `endif
// Size of LSU Request Queue // Size of LSU Request Queue
`ifndef LSUQ_SIZE `ifndef LSUQ_SIZE
`define LSUQ_SIZE (2 * `NUM_WARPS * (`NUM_THREADS / `NUM_LSU_LANES)) `define LSUQ_SIZE (4 * `NUM_WARPS * (`NUM_THREADS / `NUM_LSU_LANES))
`endif `endif
// LSU Duplicate Address Check // LSU Duplicate Address Check
@@ -469,7 +469,7 @@
// Miss Handling Register Size // Miss Handling Register Size
`ifndef DCACHE_MSHR_SIZE `ifndef DCACHE_MSHR_SIZE
`define DCACHE_MSHR_SIZE 16 `define DCACHE_MSHR_SIZE 8
`endif `endif
// Memory Request Queue Size // Memory Request Queue Size