SST 12.1.0
Structural Simulation Toolkit
SST::Interfaces::StandardMem::Read Class Reference

Read request. More...

#include <stdMem.h>

Inheritance diagram for SST::Interfaces::StandardMem::Read:
SST::Interfaces::StandardMem::Request

Public Member Functions

 Read (Addr physAddr, uint64_t size, flags_t flags=0, Addr virtAddr=0, Addr instPtr=0, uint32_t tid=0)
 
RequestmakeResponse () override
 Create read response. More...
 
bool needsResponse () override
 
SST::Eventconvert (RequestConverter *converter) override
 
void handle (RequestHandler *handler) override
 
std::string getString () override
 
- Public Member Functions inherited from SST::Interfaces::StandardMem::Request
 Request (flags_t fl=0)
 
 Request (id_t rid, flags_t flags=0)
 
id_t getID ()
 
virtual RequestmakeResponse ()=0
 
virtual bool needsResponse ()=0
 
virtual SST::Eventconvert (RequestConverter *converter)=0
 
virtual void handle (RequestHandler *handler)=0
 
virtual std::string getString ()=0
 
void setNoncacheable ()
 
void unsetNoncacheable ()
 
bool getNoncacheable ()
 
void setSuccess ()
 
void unsetSuccess ()
 
bool getSuccess ()
 
bool getFail ()
 
void setFail ()
 
void unsetFail ()
 
void setTrace ()
 
void unsetTrace ()
 
bool getTrace ()
 
void setFlag (flags_t flag)
 
void setFlag (Flag flag)
 
void unsetFlag (flags_t flag)
 
void unsetFlag (Flag flag)
 
bool getFlag (flags_t flag)
 
bool getFlag (Flag flag)
 
void clearAllFlags ()
 
flags_t getAllFlags ()
 
std::string getFlagString ()
 

Data Fields

Addr pAddr
 
Addr vAddr
 
uint64_t size
 
Addr iPtr
 
uint32_t tid
 

Additional Inherited Members

- Public Types inherited from SST::Interfaces::StandardMem::Request
enum class  Flag { F_NONCACHEABLE = 1 << 1 , F_FAIL = 1 << 2 , F_TRACE = 1 << 3 , F_RESERVED = 1 << 16 }
 Flags that modify requests. More...
 
typedef uint64_t id_t
 
typedef uint32_t flags_t
 
- Protected Attributes inherited from SST::Interfaces::StandardMem::Request
id_t id
 
flags_t flags
 

Detailed Description

Read request.

Can be marked noncacheable to bypass caches. Response type is ReadResp

Member Function Documentation

◆ convert()

SST::Event * SST::Interfaces::StandardMem::Read::convert ( RequestConverter converter)
inlineoverridevirtual

◆ getString()

std::string SST::Interfaces::StandardMem::Read::getString ( )
inlineoverridevirtual

◆ handle()

void SST::Interfaces::StandardMem::Read::handle ( RequestHandler handler)
inlineoverridevirtual

◆ makeResponse()

Request * SST::Interfaces::StandardMem::Read::makeResponse ( )
inlineoverridevirtual

Create read response.

User must manually set read data on response if simulation is using actual data values

Returns
ReadResp formatted as a response to this Read request

Implements SST::Interfaces::StandardMem::Request.

◆ needsResponse()

bool SST::Interfaces::StandardMem::Read::needsResponse ( )
inlineoverridevirtual

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