gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::o3::StoreSet::SSITEntry Class Reference

#include <store_set.hh>

Inheritance diagram for gem5::o3::StoreSet::SSITEntry:
gem5::CacheEntry gem5::ReplaceableEntry

Public Types

using TagExtractor = std::function<Addr(Addr)>
 
- Public Types inherited from gem5::CacheEntry
using IndexingPolicy = BaseIndexingPolicy
 
using KeyType = Addr
 
using TagExtractor = std::function<Addr(Addr)>
 

Public Member Functions

 SSITEntry (TagExtractor ext)
 
void setSSID (SSID id)
 
SSID getSSID (void) const
 
- Public Member Functions inherited from gem5::CacheEntry
 CacheEntry (TagExtractor ext)
 
 ~CacheEntry ()=default
 
virtual bool isValid () const
 Checks if the entry is valid.
 
virtual Addr getTag () const
 Get tag associated to this block.
 
virtual bool match (const Addr addr) const
 Checks if the given tag information corresponds to this entry's.
 
virtual void insert (const Addr addr)
 Insert the block by assigning it a tag and marking it valid.
 
virtual void invalidate ()
 Invalidate the block.
 
std::string print () const override
 Prints relevant information about this entry.
 
- Public Member Functions inherited from gem5::ReplaceableEntry
 ReplaceableEntry ()
 
virtual ~ReplaceableEntry ()=default
 
virtual void setPosition (const uint32_t set, const uint32_t way)
 Set both the set and way.
 
uint32_t getSet () const
 Get set number.
 
uint32_t getWay () const
 Get way number.
 

Private Attributes

SSID _ssid
 

Additional Inherited Members

- Public Attributes inherited from gem5::ReplaceableEntry
std::shared_ptr< replacement_policy::ReplacementDatareplacementData
 Replacement data associated to this entry.
 
- Protected Member Functions inherited from gem5::CacheEntry
virtual void setTag (Addr _tag)
 Set tag associated to this block.
 
virtual void setValid ()
 Set valid bit.
 
- Protected Attributes inherited from gem5::ReplaceableEntry
uint32_t _set
 Set to which this entry belongs.
 
uint32_t _way
 Way (relative position within the set) to which this entry belongs.
 

Detailed Description

Definition at line 78 of file store_set.hh.

Member Typedef Documentation

◆ TagExtractor

Definition at line 83 of file store_set.hh.

Constructor & Destructor Documentation

◆ SSITEntry()

gem5::o3::StoreSet::SSITEntry::SSITEntry ( TagExtractor ext)
inline

Definition at line 85 of file store_set.hh.

References _ssid, gem5::CacheEntry::CacheEntry(), gem5::ArmISA::ext, and gem5::MaxAddr.

Member Function Documentation

◆ getSSID()

SSID gem5::o3::StoreSet::SSITEntry::getSSID ( void ) const
inline

Definition at line 88 of file store_set.hh.

References _ssid.

◆ setSSID()

void gem5::o3::StoreSet::SSITEntry::setSSID ( SSID id)
inline

Definition at line 87 of file store_set.hh.

References _ssid, and gem5::ArmISA::id.

Referenced by gem5::o3::StoreSet::violation().

Member Data Documentation

◆ _ssid

SSID gem5::o3::StoreSet::SSITEntry::_ssid
private

Definition at line 81 of file store_set.hh.

Referenced by getSSID(), setSSID(), and SSITEntry().


The documentation for this class was generated from the following file:

Generated on Mon May 26 2025 09:19:34 for gem5 by doxygen 1.13.2