Here is a code from cacheController.cpp
if (type_ == L2_CACHE || type_ == L3_CACHE)
{
memdebug("L2/L3 cache update sending to lower\n");
queueEntry->eventFlags[
CACHE_WAIT_INTERCONNECT_EVENT]++;
queueEntry->sendTo = lowerInterconnect_;
memoryHierarchy_->add_event(&waitInterconnect_,
0, queueEntry);
}
I think, L2_CACHE etc. are no longer used. We should use get_name() and
check whether it has "L2".
Correct me if wrong.
Thanks and Regards
Sparsh Mittal
_______________________________________________
http://www.marss86.org
Marss86-Devel mailing list
[email protected]
https://www.cs.binghamton.edu/mailman/listinfo/marss86-devel