RTL code refactoring
This commit is contained in:
35
hw/rtl/interfaces/VX_warp_ctl_if.v
Normal file
35
hw/rtl/interfaces/VX_warp_ctl_if.v
Normal file
@@ -0,0 +1,35 @@
|
||||
|
||||
`ifndef VX_WARP_CTL_INTER
|
||||
`define VX_WARP_CTL_INTER
|
||||
|
||||
`include "../VX_define.vh"
|
||||
|
||||
interface VX_warp_ctl_if ();
|
||||
|
||||
wire [`NW_BITS-1:0] warp_num;
|
||||
wire change_mask;
|
||||
wire [`NUM_THREADS-1:0] thread_mask;
|
||||
|
||||
wire wspawn;
|
||||
wire [31:0] wspawn_pc;
|
||||
wire [`NUM_WARPS-1:0] wspawn_new_active;
|
||||
|
||||
wire ebreak;
|
||||
|
||||
// barrier
|
||||
wire is_barrier;
|
||||
wire [31:0] barrier_id;
|
||||
wire [$clog2(`NUM_WARPS):0] num_warps;
|
||||
|
||||
wire is_split;
|
||||
wire dont_split;
|
||||
`IGNORE_WARNINGS_BEGIN
|
||||
wire [`NW_BITS-1:0] split_warp_num;
|
||||
`IGNORE_WARNINGS_END
|
||||
wire [`NUM_THREADS-1:0] split_new_mask;
|
||||
wire [`NUM_THREADS-1:0] split_later_mask;
|
||||
wire [31:0] split_save_pc;
|
||||
|
||||
endinterface
|
||||
|
||||
`endif
|
||||
Reference in New Issue
Block a user