mirror of
https://github.com/openhwgroup/cvw.git
synced 2025-04-23 21:38:55 -04:00
Fixed the cache miss counter.
This commit is contained in:
parent
85eda21dfe
commit
6c0b860742
1 changed files with 1 additions and 1 deletions
2
src/cache/cachefsm.sv
vendored
2
src/cache/cachefsm.sv
vendored
|
@ -102,7 +102,7 @@ module cachefsm import cvw::*; #(parameter cvw_t P,
|
|||
|
||||
// outputs for the performance counters.
|
||||
assign CacheAccess = (|CacheRW) & ((CurrState == STATE_ACCESS & ~Stall & ~FlushStage) | (CurrState == STATE_ADDRESS_SETUP & ~Stall & ~FlushStage)); // exclusion-tag: icache CacheW
|
||||
assign CacheMiss = CacheAccess & ~Hit;
|
||||
assign CacheMiss = CurrState == STATE_ADDRESS_SETUP & ~Stall & ~FlushStage;
|
||||
|
||||
// special case on reset. When the fsm first exists reset twayhe
|
||||
// PCNextF will no longer be pointing to the correct address.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue