B.2.14. CADICacheInfo_t

Cache info data. The definition is as listed in Example B.23:

Example B.23. CADICacheInfo_t

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;
};

The data members are:

cacheLineSize

is the size of a cacheline 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.

Copyright © 2008-2010 ARM Limited. All rights reserved.ARM DUI 0444F
Non-ConfidentialID110210