Daniel Carvalho has uploaded this change for review. (
https://gem5-review.googlesource.com/c/public/gem5/+/36495 )
Change subject: mem-cache: Undefine compression ratio of perfect compression
......................................................................
mem-cache: Undefine compression ratio of perfect compression
Commit c0d67b2263aab6a729368373d9cdef9883870241 assumes that the
cache contains a parameter for its compression ratio. This is not
the case upstream, so force the user to provide it instead.
Change-Id: Ic7b4878bede6b0a34e4adfe7e0aa65a0ee48d1f6
Signed-off-by: Daniel R. Carvalho <[email protected]>
---
M src/mem/cache/compressors/Compressors.py
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/mem/cache/compressors/Compressors.py
b/src/mem/cache/compressors/Compressors.py
index d7dfdab..689a42e 100644
--- a/src/mem/cache/compressors/Compressors.py
+++ b/src/mem/cache/compressors/Compressors.py
@@ -125,8 +125,9 @@
cxx_header = "mem/cache/compressors/perfect.hh"
chunk_size_bits = 64
- max_compression_ratio = Param.Int(Parent.max_compression_ratio,
- "Maximum compression ratio allowed")
+
+ max_compression_ratio = Param.Int("Maximum compression ratio allowed")
+
compression_latency = Param.Cycles(1,
"Number of cycles to perform data compression")
decompression_latency = Param.Cycles(1,
--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/36495
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: Ic7b4878bede6b0a34e4adfe7e0aa65a0ee48d1f6
Gerrit-Change-Number: 36495
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