The Sparta Modeling Framework
Loading...
Searching...
No Matches
core_example::LSU::MemoryAccessInfo Class Reference

Public Types

enum class  MMUState : std::uint32_t {
  NO_ACCESS = 0 , __FIRST = NO_ACCESS , MISS , HIT ,
  NUM_STATES , __LAST = NUM_STATES
}
 
enum class  CacheState : std::uint64_t {
  NO_ACCESS = 0 , __FIRST = NO_ACCESS , MISS , HIT ,
  NUM_STATES , __LAST = NUM_STATES
}
 
using SpartaPairDefinitionType = MemoryAccessInfoPairDef
 

Public Member Functions

 MemoryAccessInfo (const ExampleInstPtr &inst_ptr)
 
const ExampleInstPtrgetInstPtr () const
 
uint64_t getInstUniqueID () const
 
void setPhyAddrStatus (bool isReady)
 
bool getPhyAddrStatus () const
 
const MMUState & getMMUState () const
 
void setMMUState (const MMUState &state)
 
const CacheState & getCacheState () const
 
void setCacheState (const CacheState &state)
 
bool getPhyAddrIsReady () const
 

Detailed Description

Definition at line 109 of file LSU.hpp.

Member Typedef Documentation

◆ SpartaPairDefinitionType

Member Enumeration Documentation

◆ CacheState

enum class core_example::LSU::MemoryAccessInfo::CacheState : std::uint64_t
strong

Definition at line 124 of file LSU.hpp.

◆ MMUState

enum class core_example::LSU::MemoryAccessInfo::MMUState : std::uint32_t
strong

Definition at line 115 of file LSU.hpp.

Constructor & Destructor Documentation

◆ MemoryAccessInfo()

core_example::LSU::MemoryAccessInfo::MemoryAccessInfo ( const ExampleInstPtr inst_ptr)
inline

Definition at line 135 of file LSU.hpp.

◆ ~MemoryAccessInfo()

virtual core_example::LSU::MemoryAccessInfo::~MemoryAccessInfo ( )
inlinevirtual

Definition at line 143 of file LSU.hpp.

Member Function Documentation

◆ getCacheState()

const CacheState & core_example::LSU::MemoryAccessInfo::getCacheState ( ) const
inline

Definition at line 167 of file LSU.hpp.

◆ getInstPtr()

const ExampleInstPtr & core_example::LSU::MemoryAccessInfo::getInstPtr ( ) const
inline

Definition at line 147 of file LSU.hpp.

◆ getInstUniqueID()

uint64_t core_example::LSU::MemoryAccessInfo::getInstUniqueID ( ) const
inline

Definition at line 150 of file LSU.hpp.

◆ getMMUState()

const MMUState & core_example::LSU::MemoryAccessInfo::getMMUState ( ) const
inline

Definition at line 159 of file LSU.hpp.

◆ getPhyAddrIsReady()

bool core_example::LSU::MemoryAccessInfo::getPhyAddrIsReady ( ) const
inline

Definition at line 175 of file LSU.hpp.

◆ getPhyAddrStatus()

bool core_example::LSU::MemoryAccessInfo::getPhyAddrStatus ( ) const
inline

Definition at line 157 of file LSU.hpp.

◆ setCacheState()

void core_example::LSU::MemoryAccessInfo::setCacheState ( const CacheState &  state)
inline

Definition at line 170 of file LSU.hpp.

◆ setMMUState()

void core_example::LSU::MemoryAccessInfo::setMMUState ( const MMUState &  state)
inline

Definition at line 163 of file LSU.hpp.

◆ setPhyAddrStatus()

void core_example::LSU::MemoryAccessInfo::setPhyAddrStatus ( bool  isReady)
inline

Definition at line 156 of file LSU.hpp.


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