Made the cache module configurable for multi-instantiation
This commit is contained in:
@@ -6,7 +6,11 @@
|
||||
|
||||
`define VX_GPU_DRAM_DCACHE_REQ
|
||||
|
||||
interface VX_gpu_dcache_dram_req_inter ();
|
||||
interface VX_gpu_dcache_dram_req_inter
|
||||
#(
|
||||
parameter BANK_LINE_SIZE_WORDS = 2
|
||||
)
|
||||
();
|
||||
|
||||
// DRAM Request
|
||||
wire dram_req;
|
||||
@@ -14,7 +18,7 @@ interface VX_gpu_dcache_dram_req_inter ();
|
||||
wire dram_req_read;
|
||||
wire [31:0] dram_req_addr;
|
||||
wire [31:0] dram_req_size;
|
||||
wire [`BANK_LINE_SIZE_RNG][31:0] dram_req_data;
|
||||
wire [BANK_LINE_SIZE_WORDS-1:0][31:0] dram_req_data;
|
||||
|
||||
// Snoop
|
||||
wire dram_because_of_snp;
|
||||
|
||||
Reference in New Issue
Block a user