mem-cache: Implement a multi compressor
[gem5.git] / src / mem / cache / cache_blk.hh
index 611ce448dffc2b9f4ef862cb37a3d4cdac593fbf..dce0ce434570ad9f5cfc1c8b54736e4cf7433204 100644 (file)
@@ -76,6 +76,8 @@ enum CacheBlkStatusBits : unsigned {
     BlkHWPrefetched =   0x20,
     /** block holds data from the secure memory space */
     BlkSecure =         0x40,
+    /** block holds compressed data */
+    BlkCompressed =     0x80
 };
 
 /**
@@ -272,6 +274,7 @@ class CacheBlk : public ReplaceableEntry
      */
     Tick getWhenReady() const
     {
+        assert(whenReady != MaxTick);
         return whenReady;
     }