mem-cache: Add data expansion and compaction checking functions
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Wed, 19 Jun 2019 14:07:43 +0000 (16:07 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Thu, 12 Nov 2020 21:46:43 +0000 (21:46 +0000)
commit68698e0bfd6d9fe3349797ff9583769978275fdc
treefe6dcd4da855a25c06ef14b91064fa3041472131
parentf6d2db4b93a93a0fb1f1c980b42f6cfa94e6e216
mem-cache: Add data expansion and compaction checking functions

Data expansion and compaction are determined according to the compaction
method being used. Therefore, do the verification on the blocks instead
of the cache.

Change-Id: I652418a5f4c6d5b946a9925d6287a995f262f02a
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/36579
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/mem/cache/base.cc
src/mem/cache/tags/super_blk.cc
src/mem/cache/tags/super_blk.hh