This repository was archived by the owner on Jul 9, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -1249,6 +1249,18 @@ uint64_t L1_CACHE_ENABLED = 0;
12491249// is no code modification during runtime)
12501250uint64_t L1_CACHE_COHERENCY = 1 ;
12511251
1252+ // example configurations:
1253+ // +-------------------+---------------+-----------------------------+------------+
1254+ // | name | cache size | associativity | block size |
1255+ // +===================+===============+=============================+============+
1256+ // | CORE-V CVA6 | dcache: 32 KB | dcache: 8 | 16 B |
1257+ // | | icache: 16 KB | icache: 4 | |
1258+ // +-------------------+---------------+-----------------------------+------------+
1259+ // | direct-mapped | 2^x B | 1 | 2^y B |
1260+ // +-------------------+---------------+-----------------------------+------------+
1261+ // | fully associative | 2^x B | (cache size) / (block size) | 2^y B |
1262+ // +-------------------+---------------+-----------------------------+------------+
1263+
12521264// L1-cache size in byte
12531265// assert: cache sizes are powers of 2
12541266uint64_t L1_DCACHE_SIZE = 32768 ; // 32 KB data cache
You can’t perform that action at this time.
0 commit comments