Made the cache module configurable for multi-instantiation
This commit is contained in:
@@ -6,14 +6,18 @@
|
||||
|
||||
`define VX_GPU_DCACHE_RES
|
||||
|
||||
interface VX_gpu_dcache_res_inter ();
|
||||
interface VX_gpu_dcache_res_inter
|
||||
#(
|
||||
parameter NUMBER_REQUESTS = 32
|
||||
)
|
||||
();
|
||||
|
||||
// Cache WB
|
||||
wire [`NUMBER_REQUESTS-1:0] core_wb_valid;
|
||||
wire [NUMBER_REQUESTS-1:0] core_wb_valid;
|
||||
wire [4:0] core_wb_req_rd;
|
||||
wire [1:0] core_wb_req_wb;
|
||||
wire [`NW_M1:0] core_wb_warp_num;
|
||||
wire [`NUMBER_REQUESTS-1:0][31:0] core_wb_readdata;
|
||||
wire [NUMBER_REQUESTS-1:0][31:0] core_wb_readdata;
|
||||
|
||||
// Cache Full
|
||||
wire delay_req;
|
||||
|
||||
Reference in New Issue
Block a user