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

Public Member Functions

 SimpleCacheLine (uint64_t line_size)
 
 SimpleCacheLine (const SimpleCacheLine &rhs)
 
SimpleCacheLineoperator= (const SimpleCacheLine &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 15 of file SimpleDL1.hpp.

Constructor & Destructor Documentation

◆ SimpleCacheLine() [1/2]

core_example::SimpleCacheLine::SimpleCacheLine ( uint64_t  line_size)
inline

Definition at line 20 of file SimpleDL1.hpp.

◆ SimpleCacheLine() [2/2]

core_example::SimpleCacheLine::SimpleCacheLine ( const SimpleCacheLine rhs)
inline

Definition at line 29 of file SimpleDL1.hpp.

◆ ~SimpleCacheLine()

virtual core_example::SimpleCacheLine::~SimpleCacheLine ( )
inlinevirtual

Definition at line 46 of file SimpleDL1.hpp.

Member Function Documentation

◆ isValid()

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

Definition at line 59 of file SimpleDL1.hpp.

◆ operator=()

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

Definition at line 37 of file SimpleDL1.hpp.

◆ read()

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

Definition at line 65 of file SimpleDL1.hpp.

◆ reset()

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

Definition at line 49 of file SimpleDL1.hpp.

◆ setModified()

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

Definition at line 62 of file SimpleDL1.hpp.

◆ setValid()

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

Definition at line 56 of file SimpleDL1.hpp.

◆ write()

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

Definition at line 75 of file SimpleDL1.hpp.


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