Tex CSRs write support added
This commit is contained in:
committed by
Blaise Tine
parent
7587876820
commit
72e06ef4fe
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
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user