cache bank area optimization + multi-porting fix for l2/l3 caches

This commit is contained in:
Blaise Tine
2021-08-28 21:34:06 -07:00
parent f3ba27b138
commit 6674e8c44a
9 changed files with 388 additions and 236 deletions

View File

@@ -291,7 +291,7 @@
`define DNUM_BANKS `NUM_THREADS
`endif
// Number of bank ports
// Number of ports per bank
`ifndef DNUM_PORTS
`define DNUM_PORTS 1
`endif
@@ -361,6 +361,11 @@
`define L2NUM_BANKS `MIN(`NUM_CORES, 4)
`endif
// Number of ports per bank
`ifndef L2NUM_PORTS
`define L2NUM_PORTS 1
`endif
// Core Request Queue Size
`ifndef L2CREQ_SIZE
`define L2CREQ_SIZE 0
@@ -398,6 +403,11 @@
`define L3NUM_BANKS `MIN(`NUM_CLUSTERS, 4)
`endif
// Number of ports per bank
`ifndef L3NUM_PORTS
`define L3NUM_PORTS 1
`endif
// Core Request Queue Size
`ifndef L3CREQ_SIZE
`define L3CREQ_SIZE 0