304,307c304,307
< * Regenerate the block address from the tag.
< * @param tag The tag of the block.
< * @param set The set of the block.
< * @return The block address.
---
> * Regenerate the block address from the tag and set.
> *
> * @param block The block.
> * @return the block address.
309c309
< Addr regenerateBlkAddr(Addr tag, unsigned set) const override
---
> Addr regenerateBlkAddr(const CacheBlk* blk) const override
311c311
< return ((tag << tagShift) | ((Addr)set << setShift));
---
> return ((blk->tag << tagShift) | ((Addr)blk->set << setShift));