Hello,
I have a question regarding getCacheEntry(). In my
SLICC file, I do the following:
...
if (isCacheTagPresent(myAddr)) {
if (getState(myAddr) == State:I) {
trigger(Event:myEvent, myAddr);
}
}
...
The event makes a call to getCacheEntry(), which
raises the following issue:
failed assertion 'loc != -1' at fn ENTRY&
CacheMemory<ENTRY>::lookup(const Address&) [with ENTRY
= L1Cache_Entry] in system/CacheMemory.h:497
I don't understand why the entry is not found in the
cache, because isCacheTagPresent() already found it in
the cache.
Thanks,
Dave
____________________________________________________________________________________
Sucker-punch spam with award-winning protection.
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
|