diff options
Diffstat (limited to 'src/mem/cache/compressors/Compressors.py')
-rw-r--r-- | src/mem/cache/compressors/Compressors.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/cache/compressors/Compressors.py b/src/mem/cache/compressors/Compressors.py index b266ccc95..4f86ec282 100644 --- a/src/mem/cache/compressors/Compressors.py +++ b/src/mem/cache/compressors/Compressors.py @@ -36,6 +36,9 @@ class BaseCacheCompressor(SimObject): cxx_header = "mem/cache/compressors/base.hh" block_size = Param.Int(Parent.cache_line_size, "Block size in bytes") + size_threshold = Param.Unsigned(Parent.cache_line_size, "Minimum size, " + "in bytes, in which a block must be compressed to. Otherwise it is " + "stored in its uncompressed state") class BDI(BaseCacheCompressor): type = 'BDI' |