Tex CSRs write support added

This commit is contained in:
Krishna Yalamarthy
2021-03-13 22:01:25 -05:00
parent f3f62e9e7b
commit a953fe4e1e
14 changed files with 166 additions and 7 deletions

View 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