texunit tex_wrap

This commit is contained in:
Blaise Tine
2021-03-20 13:40:42 -04:00
parent 20ae993e51
commit 1431ef9bc0
24 changed files with 134 additions and 76 deletions

View File

@@ -16,6 +16,8 @@
`define REQS_BITS `LOG2UP(NUM_REQS)
`define NTEX_BITS `LOG2UP(`NUM_TEX_UNITS)
`ifdef EXT_F_ENABLE
`define NUM_REGS 64
`else
@@ -387,19 +389,7 @@
`define XDRAM_TAG_WIDTH (`DDRAM_TAG_WIDTH+`CLOG2(2))
////////////////////////// Texture Unit Configurable Knobs //////////////////////////////
`define NTEX_BITS `LOG2UP(`NUM_TEX_UNITS)
`define TEX_ADDR_BITS 32
`define TEX_FORMAT_BITS 3
`define TEX_WRAP_BITS 2
`define TEX_WIDTH_BITS 12
`define TEX_HEIGHT_BITS 12
`define TEX_STRIDE_BITS 2
`define TEX_FILTER_BITS 1
////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
`include "VX_types.vh"