Tex CSRs write support added
This commit is contained in:
20
hw/rtl/interfaces/VX_tex_csr_if.v
Normal file
20
hw/rtl/interfaces/VX_tex_csr_if.v
Normal file
@@ -0,0 +1,20 @@
|
||||
`ifndef VX_TEX_CSR_IF
|
||||
`define VX_TEX_CSR_IF
|
||||
|
||||
`include "VX_define.vh"
|
||||
|
||||
interface VX_tex_csr_if ();
|
||||
|
||||
// wire read_enable;
|
||||
// wire[`CSR_ADDR_BITS-1:0] read_addr;
|
||||
// wire[`NW_BITS-1:0] read_wid;
|
||||
// wire[31:0] read_data;
|
||||
|
||||
wire write_enable;
|
||||
wire[`CSR_ADDR_BITS-1:0] write_addr;
|
||||
// wire[`NW_BITS-1:0] write_wid;
|
||||
wire[`CSR_WIDTH-1:0] write_data;
|
||||
|
||||
endinterface
|
||||
|
||||
`endif
|
||||
Reference in New Issue
Block a user