RTL code refactoring
This commit is contained in:
22
hw/rtl/interfaces/VX_lsu_req_if.v
Normal file
22
hw/rtl/interfaces/VX_lsu_req_if.v
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
`ifndef VX_LSU_REQ_INTER
|
||||
`define VX_LSU_REQ_INTER
|
||||
|
||||
`include "../VX_define.vh"
|
||||
|
||||
interface VX_lsu_req_if ();
|
||||
|
||||
wire [`NUM_THREADS-1:0] valid;
|
||||
wire [31:0] lsu_pc;
|
||||
wire [`NW_BITS-1:0] warp_num;
|
||||
wire [`NUM_THREADS-1:0][31:0] store_data;
|
||||
wire [`NUM_THREADS-1:0][31:0] base_address; // A reg data
|
||||
wire [31:0] offset; // itype_immed
|
||||
wire [2:0] mem_read;
|
||||
wire [2:0] mem_write;
|
||||
wire [4:0] rd;
|
||||
wire [1:0] wb;
|
||||
|
||||
endinterface
|
||||
|
||||
`endif
|
||||
Reference in New Issue
Block a user