30 lines
392 B
Verilog
30 lines
392 B
Verilog
|
|
`ifndef VX_GPR_WSPAWN_INTER
|
|
|
|
`define VX_GPR_WSPAWN_INTER
|
|
|
|
|
|
interface VX_gpr_wspawn_inter ();
|
|
/* verilator lint_off UNUSED */
|
|
wire is_wspawn;
|
|
wire[`NW_M1:0] which_wspawn;
|
|
// wire[`NW_M1:0] warp_num;
|
|
/* verilator lint_on UNUSED */
|
|
|
|
|
|
modport snk (
|
|
input is_wspawn,
|
|
input which_wspawn
|
|
);
|
|
|
|
|
|
modport src (
|
|
output is_wspawn,
|
|
output which_wspawn
|
|
);
|
|
|
|
endinterface
|
|
|
|
|
|
|
|
`endif |