URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/
- from Rev 75 to Rev 76
- ↔ Reverse comparison
Rev 75 → Rev 76
/trunk/or1ksim/cache/icache_model.h
19,4 → 19,5
|
/* more or less useless at the moment */ |
|
void icache_update(unsigned long addr, int taken); |
void ic_simulate_fetch(unsigned long fetchaddr); |
|
/trunk/or1ksim/cache/icache_model.c
35,7 → 35,7
/* Instruction cache */ |
|
/* Number of IC sets (power of 2) */ |
#define IC_SETS 128 |
#define IC_SETS 512 |
|
/* Block size in bytes (1, 2, 4, 8, 16, 32 etc.) */ |
#define IC_BLOCK_SIZE 16 |
70,7 → 70,7
ways unless they have reached 0 |
*/ |
|
void ic_simulate(unsigned long fetchaddr) |
void ic_simulate_fetch(unsigned long fetchaddr) |
{ |
int set, way = -1; |
int i; |