29 #ifndef __MEM_CACHE_COMPRESSORS_ENCODERS_BASE_HH__
30 #define __MEM_CACHE_COMPRESSORS_ENCODERS_BASE_HH__
82 virtual uint64_t
decode(
const uint64_t code)
const = 0;
virtual Code encode(const uint64_t val) const =0
The function responsible for the generation of the alternative value.
virtual uint64_t decode(const uint64_t code) const =0
Decode a value.
GEM5_DEPRECATED_NAMESPACE(Encoder, encoder)
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
unsigned length
Number of bits in the code.
uint64_t code
Only the LSB of the code are relevant.