1. Can someone tell what is the difference between Cache Fill and
Write back . Is it that in M5, when a block is written back say from
L1 to L2, and if it doesn't find corresponding block (It seems M5 uses
non-inclusive caches) it just forwards the request to say L3 or
memory. Cache Fill is probably when actual write is done (when there
is no other higher level of cache left) and data has to be written in
the block.
2. In Handle Fill, why (pkt->isRead()) is checked? Isnt it should be
pkt->isWrite()
// if we got new data, copy it in
if (pkt->isRead()) {
std::memcpy(blk->data, pkt->getPtr<uint8_t>(), blkSize);
tags->collectstats(blk, name());
}
---- Adwait
_______________________________________________
m5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/m5-users