mem-cache: Create an address aware TempCacheBlk
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Mon, 16 Apr 2018 13:36:33 +0000 (15:36 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 1 Jun 2018 11:21:46 +0000 (11:21 +0000)
commit7704113d94f2e574afeb079e0cc5b98fc6bed33b
tree62f52772add95114e3a68f9eee39d0648439bca8
parent888bdb67e181710283372ae1a74698e216ee3ac2
mem-cache: Create an address aware TempCacheBlk

tempBlock has its member variables  manually set in order to allow
it to be used in the block address regeneration function. This is
not necessary, and ti can be simply given the address, so  it does
not need to be aware of set and tag. This will simplify
implementation of sector and skewed caches.

Change-Id: Iaffb10c323509722cd5589fe1030b818d43336d6
Reviewed-on: https://gem5-review.googlesource.com/9961
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/base.cc
src/mem/cache/base.hh
src/mem/cache/blk.cc
src/mem/cache/blk.hh
src/mem/cache/cache.cc