Tex CSRs write support added

This commit is contained in:
Krishna Yalamarthy
2021-03-13 22:01:25 -05:00
committed by Blaise Tine
parent 7587876820
commit 72e06ef4fe
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

View File

@@ -8,6 +8,7 @@ interface VX_tex_req_if ();
wire [`NUM_THREADS-1:0][31:0] u;
wire [`NUM_THREADS-1:0][31:0] v;
wire [`NUM_THREADS-1:0][31:0] lod_t;
// wire [`NUM_THREADS-1:0][7:0] t;
// wire [`MADDRW-1:0] addr;
// wire [`MAXWTW-1:0] width;
// wire [`MAXHTW-1:0] height;