cache bank area optimization + multi-porting fix for l2/l3 caches
This commit is contained in:
6
hw/rtl/cache/VX_cache_define.vh
vendored
6
hw/rtl/cache/VX_cache_define.vh
vendored
@@ -9,8 +9,10 @@
|
||||
|
||||
`define REQS_BITS `LOG2UP(NUM_REQS)
|
||||
|
||||
// tag valid tid word_sel
|
||||
`define MSHR_DATA_WIDTH (CORE_TAG_WIDTH + (1 + `REQS_BITS + `UP(`WORD_SELECT_BITS)) * NUM_PORTS)
|
||||
`define PORTS_BITS `LOG2UP(NUM_PORTS)
|
||||
|
||||
// tag valid tid word_sel
|
||||
`define MSHR_DATA_WIDTH ((CORE_TAG_WIDTH + 1 + `REQS_BITS + `UP(`WORD_SELECT_BITS)) * NUM_PORTS)
|
||||
|
||||
`define WORD_WIDTH (8 * WORD_SIZE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user