RTL code refactoring
This commit is contained in:
17
hw/rtl/interfaces/VX_csr_wb_if.v
Normal file
17
hw/rtl/interfaces/VX_csr_wb_if.v
Normal file
@@ -0,0 +1,17 @@
|
||||
`ifndef VX_CSR_WB_REQ
|
||||
`define VX_CSR_WB_REQ
|
||||
|
||||
`include "../VX_define.vh"
|
||||
|
||||
interface VX_csr_wb_if ();
|
||||
|
||||
wire [`NUM_THREADS-1:0] valid;
|
||||
wire [`NW_BITS-1:0] warp_num;
|
||||
wire [4:0] rd;
|
||||
wire [1:0] wb;
|
||||
|
||||
wire [`NUM_THREADS-1:0][31:0] csr_result;
|
||||
|
||||
endinterface
|
||||
|
||||
`endif
|
||||
Reference in New Issue
Block a user