The Sparta Modeling Framework
Loading...
Searching...
No Matches
core_example::SimpleTLBEntry Class Reference
Inheritance diagram for core_example::SimpleTLBEntry:
Collaboration diagram for core_example::SimpleTLBEntry:

Public Member Functions

 SimpleTLBEntry (uint32_t page_size)
 
 SimpleTLBEntry (const SimpleTLBEntry &rhs)
 
SimpleTLBEntryoperator= (const SimpleTLBEntry &rhs)
 
void reset (uint64_t addr)
 
void setValid (bool v)
 
bool isValid () const
 
void setModified (bool m)
 
bool read (uint64_t offset, uint32_t size, uint32_t *buf) const
 
bool write (uint64_t offset, uint32_t size, uint32_t *buf) const
 

Detailed Description

Definition at line 12 of file SimpleTLB.hpp.

Constructor & Destructor Documentation

◆ SimpleTLBEntry() [1/2]

core_example::SimpleTLBEntry::SimpleTLBEntry ( uint32_t  page_size)
inline

Definition at line 17 of file SimpleTLB.hpp.

◆ SimpleTLBEntry() [2/2]

core_example::SimpleTLBEntry::SimpleTLBEntry ( const SimpleTLBEntry rhs)
inline

Definition at line 27 of file SimpleTLB.hpp.

◆ ~SimpleTLBEntry()

virtual core_example::SimpleTLBEntry::~SimpleTLBEntry ( )
inlinevirtual

Definition at line 44 of file SimpleTLB.hpp.

Member Function Documentation

◆ isValid()

bool core_example::SimpleTLBEntry::isValid ( ) const
inline

Definition at line 57 of file SimpleTLB.hpp.

◆ operator=()

SimpleTLBEntry & core_example::SimpleTLBEntry::operator= ( const SimpleTLBEntry rhs)
inline

Definition at line 35 of file SimpleTLB.hpp.

◆ read()

bool core_example::SimpleTLBEntry::read ( uint64_t  offset,
uint32_t  size,
uint32_t *  buf 
) const
inline

Definition at line 63 of file SimpleTLB.hpp.

◆ reset()

void core_example::SimpleTLBEntry::reset ( uint64_t  addr)
inline

Definition at line 47 of file SimpleTLB.hpp.

◆ setModified()

void core_example::SimpleTLBEntry::setModified ( bool  m)
inline

Definition at line 60 of file SimpleTLB.hpp.

◆ setValid()

void core_example::SimpleTLBEntry::setValid ( bool  v)
inline

Definition at line 54 of file SimpleTLB.hpp.

◆ write()

bool core_example::SimpleTLBEntry::write ( uint64_t  offset,
uint32_t  size,
uint32_t *  buf 
) const
inline

Definition at line 73 of file SimpleTLB.hpp.


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