mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
54 lines
No EOL
1.1 KiB
Systemverilog
54 lines
No EOL
1.1 KiB
Systemverilog
`ifndef VX_TEX_REQ_IF
|
|
`define VX_TEX_REQ_IF
|
|
|
|
`include "VX_define.vh"
|
|
|
|
interface VX_tex_req_if ();
|
|
|
|
wire valid;
|
|
wire [`UUID_BITS-1:0] uuid;
|
|
wire [`NW_BITS-1:0] wid;
|
|
wire [`NUM_THREADS-1:0] tmask;
|
|
wire [31:0] PC;
|
|
wire [`NR_BITS-1:0] rd;
|
|
wire wb;
|
|
|
|
wire [`NTEX_BITS-1:0] unit;
|
|
wire [1:0][`NUM_THREADS-1:0][31:0] coords;
|
|
wire [`NUM_THREADS-1:0][31:0] lod;
|
|
|
|
wire ready;
|
|
|
|
modport master (
|
|
output valid,
|
|
output uuid,
|
|
output wid,
|
|
output tmask,
|
|
output PC,
|
|
output rd,
|
|
output wb,
|
|
output unit,
|
|
output coords,
|
|
output lod,
|
|
input ready
|
|
);
|
|
|
|
modport slave (
|
|
input valid,
|
|
input uuid,
|
|
input wid,
|
|
input tmask,
|
|
input PC,
|
|
input rd,
|
|
input wb,
|
|
input unit,
|
|
input coords,
|
|
input lod,
|
|
output ready
|
|
);
|
|
|
|
endinterface
|
|
`endif
|
|
|
|
|
|
|