RTL code refactoring
This commit is contained in:
25
hw/rtl/interfaces/VX_mem_req_if.v
Normal file
25
hw/rtl/interfaces/VX_mem_req_if.v
Normal file
@@ -0,0 +1,25 @@
|
||||
`ifndef VX_MEM_REQ_IN
|
||||
`define VX_MEM_REQ_IN
|
||||
|
||||
`include "../VX_define.vh"
|
||||
|
||||
interface VX_mem_req_if ();
|
||||
|
||||
wire [`NUM_THREADS-1:0][31:0] alu_result;
|
||||
wire [2:0] mem_read;
|
||||
wire [2:0] mem_write;
|
||||
wire [4:0] rd;
|
||||
wire [1:0] wb;
|
||||
wire [4:0] rs1;
|
||||
wire [4:0] rs2;
|
||||
wire [`NUM_THREADS-1:0][31:0] rd2;
|
||||
wire [31:0] PC_next;
|
||||
wire [31:0] curr_PC;
|
||||
wire [31:0] branch_offset;
|
||||
wire [2:0] branch_type;
|
||||
wire [`NUM_THREADS-1:0] valid;
|
||||
wire [`NW_BITS-1:0] warp_num;
|
||||
|
||||
endinterface
|
||||
|
||||
`endif
|
||||
Reference in New Issue
Block a user