27 lines
534 B
Verilog
27 lines
534 B
Verilog
`ifndef VX_CSR_REQ_IF
|
|
`define VX_CSR_REQ_IF
|
|
|
|
`include "VX_define.vh"
|
|
|
|
interface VX_csr_req_if ();
|
|
|
|
wire valid;
|
|
wire [`ISTAG_BITS-1:0] issue_tag;
|
|
wire [`NW_BITS-1:0] warp_num;
|
|
wire [31:0] curr_PC;
|
|
|
|
wire [`CSR_BITS-1:0] csr_op;
|
|
|
|
wire [`CSR_ADDR_BITS-1:0] csr_addr;
|
|
wire [31:0] csr_mask;
|
|
|
|
wire [`NR_BITS-1:0] rd;
|
|
wire wb;
|
|
wire is_io;
|
|
|
|
wire ready;
|
|
|
|
endinterface
|
|
|
|
`endif
|