Daniel Carvalho has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/33387 )
Change subject: mem-cache: Use cache's max CR on perfect compressor
......................................................................
mem-cache: Use cache's max CR on perfect compressor
Use cache's max_compression_ratio to setup the max_compression_ratio
of the PerfectCompressor.
Change-Id: Ib44aa61975fb2cc52f27f64a86c9df9c5531aa1a
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M src/mem/cache/compressors/Compressors.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mem/cache/compressors/Compressors.py
b/src/mem/cache/compressors/Compressors.py
index 2497e82..d7dfdab 100644
--- a/src/mem/cache/compressors/Compressors.py
+++ b/src/mem/cache/compressors/Compressors.py
@@ -125,7 +125,7 @@
cxx_header = "mem/cache/compressors/perfect.hh"
chunk_size_bits = 64
- max_compression_ratio = Param.Int(2,
+ max_compression_ratio = Param.Int(Parent.max_compression_ratio,
"Maximum compression ratio allowed")
compression_latency = Param.Cycles(1,
"Number of cycles to perform data compression")
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/33387
To unsubscribe, or for help writing mail filters, visit
https://gem5-review.googlesource.com/settings
Gerrit-Project: public/gem5
Gerrit-Branch: develop
Gerrit-Change-Id: Ib44aa61975fb2cc52f27f64a86c9df9c5531aa1a
Gerrit-Change-Number: 33387
Gerrit-PatchSet: 1
Gerrit-Owner: Daniel Carvalho <[email protected]>
Gerrit-MessageType: newchange
_______________________________________________
gem5-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s