
`include "VX_define.v"

`ifndef VX_CSR_W_REQ

`define VX_CSR_W_REQ

interface VX_csr_write_request_inter ();

		wire        is_csr;
		wire[11:0]  csr_address;
		/* verilator lint_off UNUSED */
		wire[31:0]  csr_result;
		/* verilator lint_on UNUSED */

	// source-side view
	modport snk (
		input is_csr,
		input csr_address,
		input csr_result
	);


	// source-side view
	modport src (
		output is_csr,
		output csr_address,
		output csr_result
	);


endinterface


`endif