1/* 2 * Copyright (c) 2012-2014,2017 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 62 unchanged lines hidden (view full) --- 71class BaseSetAssoc : public BaseTags 72{ 73 public: 74 /** Typedef the block type used in this tag store. */ 75 typedef CacheBlk BlkType; 76 /** Typedef the set type used in this tag store. */ 77 typedef CacheSet<CacheBlk> SetType; 78 |
79 protected: 80 /** The associativity of the cache. */ 81 const unsigned assoc; 82 /** The allocatable associativity of the cache (alloc mask). */ 83 unsigned allocAssoc; 84 85 /** The cache blocks. */ 86 std::vector<BlkType> blks; |
87 88 /** The number of sets in the cache. */ 89 const unsigned numSets; 90 91 /** Whether tags and data are accessed sequentially. */ 92 const bool sequentialAccess; 93 94 /** The cache sets. */ --- 256 unchanged lines hidden --- |