B.2.14 CADICacheInfo_t

This struct contains cache info data.

struct CADICacheInfo_t
{
public: // methods
     CADICacheInfo_t(uint16_t cacheLineSize_par = 0,
                     uint16_t cacheTagBits_par = 0,
                     uint16_t associativity_par = 0,
                     bool writeThrough_par = false) :
         cacheLineSize(cacheLineSize_par),
         cacheTagBits(cacheTagBits_par),
         associativity(associativity_par),
         writeThrough(writeThrough_par)
        {
        }
public: // data
    uint16_t       cacheLineSize; 
    uint16_t       cacheTagBits; 
    uint16_t       associativity;
    bool           writeThrough;
};
cacheLineSize
is the size of a cache line in bytes.
cacheTagBits
is the size of a tag in bits.
associativity
is 1,2,4, or 8-way associative.
writeThrough
if true, the dirty flag is not used.
Non-ConfidentialPDF file icon PDF version100963_0200_03_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.