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

Public Types

enum class  IssuePriority : std::uint16_t {
  HIGHEST = 0 , __FIRST = HIGHEST , CACHE_RELOAD , CACHE_PENDING ,
  MMU_RELOAD , MMU_PENDING , NEW_DISP , LOWEST ,
  NUM_OF_PRIORITIES , __LAST = NUM_OF_PRIORITIES
}
 
enum class  IssueState : std::uint32_t {
  READY = 0 , __FIRST = READY , ISSUED , NOT_READY ,
  NUM_STATES , __LAST = NUM_STATES
}
 
using SpartaPairDefinitionType = LoadStoreInstInfoPairDef
 

Public Member Functions

 LoadStoreInstInfo (const MemoryAccessInfoPtr &info_ptr)
 
const ExampleInstPtrgetInstPtr () const
 
const MemoryAccessInfoPtrgetMemoryAccessInfoPtr () const
 
uint64_t getInstUniqueID () const
 
void setPriority (const IssuePriority &rank)
 
const IssuePriority & getPriority () const
 
void setState (const IssueState &state)
 
const IssueState & getState () const
 
bool isReady () const
 
bool winArb (const LoadStoreInstInfoPtr &that) const
 

Detailed Description

Definition at line 223 of file LSU.hpp.

Member Typedef Documentation

◆ SpartaPairDefinitionType

Member Enumeration Documentation

◆ IssuePriority

enum class core_example::LSU::LoadStoreInstInfo::IssuePriority : std::uint16_t
strong

Definition at line 228 of file LSU.hpp.

◆ IssueState

enum class core_example::LSU::LoadStoreInstInfo::IssueState : std::uint32_t
strong

Definition at line 242 of file LSU.hpp.

Constructor & Destructor Documentation

◆ LoadStoreInstInfo()

core_example::LSU::LoadStoreInstInfo::LoadStoreInstInfo ( const MemoryAccessInfoPtr info_ptr)
inline

Definition at line 253 of file LSU.hpp.

Member Function Documentation

◆ getInstPtr()

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

Definition at line 260 of file LSU.hpp.

◆ getInstUniqueID()

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

Definition at line 271 of file LSU.hpp.

◆ getMemoryAccessInfoPtr()

const MemoryAccessInfoPtr & core_example::LSU::LoadStoreInstInfo::getMemoryAccessInfoPtr ( ) const
inline

Definition at line 266 of file LSU.hpp.

◆ getPriority()

const IssuePriority & core_example::LSU::LoadStoreInstInfo::getPriority ( ) const
inline

Definition at line 281 of file LSU.hpp.

◆ getState()

const IssueState & core_example::LSU::LoadStoreInstInfo::getState ( ) const
inline

Definition at line 289 of file LSU.hpp.

◆ isReady()

bool core_example::LSU::LoadStoreInstInfo::isReady ( ) const
inline

Definition at line 294 of file LSU.hpp.

◆ setPriority()

void core_example::LSU::LoadStoreInstInfo::setPriority ( const IssuePriority &  rank)
inline

Definition at line 277 of file LSU.hpp.

◆ setState()

void core_example::LSU::LoadStoreInstInfo::setState ( const IssueState &  state)
inline

Definition at line 285 of file LSU.hpp.

◆ winArb()

bool core_example::LSU::LoadStoreInstInfo::winArb ( const LoadStoreInstInfoPtr that) const
inline

Definition at line 296 of file LSU.hpp.


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