SST  12.0.1
StructuralSimulationToolkit
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 ()
 
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  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

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.


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