mem-cache: Stub compression framework
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Tue, 29 May 2018 08:11:35 +0000 (10:11 +0200)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Wed, 8 May 2019 17:41:09 +0000 (17:41 +0000)
commite22a6c9180da43364692217ea257ff754dd5df45
treeaeb15d78367e4e4ae605d8ae9d425b4dc9c25f33
parent6bf8508fdcc0909103090e2747584ac4596a204d
mem-cache: Stub compression framework

Create a stub of a compression framework where we can have
multiple data blocks per tag entry. Only consecutive blocks
can share a tag as of now.

For each tag entry there can be multiple data blocks. We have
the same number of tags a conventional cache would have, but
we instantiate the maximum number of data blocks (according to
the compression ratio) per tag, to virtually implement
compression without increasing the complexity of the simulator.

Change-Id: I549940c7afb2f744ab293ff8bb283967e7551a11
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/10763
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Nikos Nikoleris <nikos.nikoleris@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/mem/cache/tags/SConscript
src/mem/cache/tags/Tags.py
src/mem/cache/tags/compressed_tags.cc [new file with mode: 0644]
src/mem/cache/tags/compressed_tags.hh [new file with mode: 0644]
src/mem/cache/tags/sector_blk.hh
src/mem/cache/tags/sector_tags.cc
src/mem/cache/tags/sector_tags.hh
src/mem/cache/tags/super_blk.cc [new file with mode: 0644]
src/mem/cache/tags/super_blk.hh [new file with mode: 0644]