You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue with Update Replacement State not tracking misses #570
Describe the bug
update_replacement_state() doesn't get called on fills whenever replacement_cache_fill() is not defined. From the documentation it states that update_replacement_state() should be called on both hits and misses (at fill time) whenever replacement_cache_fill() isn't defined.
To Reproduce
Steps to reproduce the behavior:
Go the following assertion to srrip.cc into the update_replacement_state(): assert(hit);
Update the config file to use the srrip in the LLC
Compile and run your code with any functioning trace that gets LLC misses.
The assertion never fails and the program completes normally
Expected behavior
The program should terminate on the assertion during the first LLC miss since update_replacement_state() should be called with hit equal to false.
Desktop:
OS: Ubuntu 20.04
Compiler GCC
Version 11
Additional context
This error stems from the following code segment in cache.h
changed the title [-]Issue with Update Replacement State not tracking hits[/-][+]Issue with Update Replacement State not tracking misses[/+]on Dec 30, 2024
Activity
Fix Issue ChampSim#570: Unique if condition for impl_replacement_cach…
[-]Issue with Update Replacement State not tracking hits[/-][+]Issue with Update Replacement State not tracking misses[/+]