mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
32 lines
No EOL
573 B
Systemverilog
32 lines
No EOL
573 B
Systemverilog
`ifndef VX_MEM_RSP_IF
|
|
`define VX_MEM_RSP_IF
|
|
|
|
`include "../cache/VX_cache_define.vh"
|
|
|
|
interface VX_mem_rsp_if #(
|
|
parameter DATA_WIDTH = 1,
|
|
parameter TAG_WIDTH = 1
|
|
) ();
|
|
|
|
wire valid;
|
|
wire [DATA_WIDTH-1:0] data;
|
|
wire [TAG_WIDTH-1:0] tag;
|
|
wire ready;
|
|
|
|
modport master (
|
|
output valid,
|
|
output data,
|
|
output tag,
|
|
input ready
|
|
);
|
|
|
|
modport slave (
|
|
input valid,
|
|
input data,
|
|
input tag,
|
|
output ready
|
|
);
|
|
|
|
endinterface
|
|
|
|
`endif |