The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::memory::BlockingMemoryIFNode::ReadAccess Struct Reference

Structure containing data for a Memory pre- or post-read notification. More...

#include <BlockingMemoryIFNode.hpp>

Collaboration diagram for sparta::memory::BlockingMemoryIFNode::ReadAccess:

Public Member Functions

 ReadAccess (DebugMemoryIF *_mem)
 

Public Attributes

DebugMemoryIF *const mem
 Memory interface on which the access took place.
 
addr_t addr
 Address of the access from the perspective of the memory interface.
 
addr_t size
 Size in bytes of the access.
 
const uint8_t * data
 Data just read from mem. Size is size field.
 
const void * in_supplement
 Supplementary data-object associated with the memory transaction which caused this notification.
 
void * out_supplement
 Supplementary data-object associated with the memory transaction which caused this notification. Used to send information back about the transaction.
 

Detailed Description

Structure containing data for a Memory pre- or post-read notification.

The data in this structure is only guaranteed to be valid within the notification callback where it was an argument

Definition at line 53 of file BlockingMemoryIFNode.hpp.

Constructor & Destructor Documentation

◆ ReadAccess()

sparta::memory::BlockingMemoryIFNode::ReadAccess::ReadAccess ( DebugMemoryIF _mem)
inline

Definition at line 55 of file BlockingMemoryIFNode.hpp.

Member Data Documentation

◆ addr

addr_t sparta::memory::BlockingMemoryIFNode::ReadAccess::addr

Address of the access from the perspective of the memory interface.

Definition at line 73 of file BlockingMemoryIFNode.hpp.

◆ data

const uint8_t* sparta::memory::BlockingMemoryIFNode::ReadAccess::data

Data just read from mem. Size is size field.

Definition at line 83 of file BlockingMemoryIFNode.hpp.

◆ in_supplement

const void* sparta::memory::BlockingMemoryIFNode::ReadAccess::in_supplement

Supplementary data-object associated with the memory transaction which caused this notification.

Definition at line 89 of file BlockingMemoryIFNode.hpp.

◆ mem

DebugMemoryIF* const sparta::memory::BlockingMemoryIFNode::ReadAccess::mem

Memory interface on which the access took place.

Definition at line 67 of file BlockingMemoryIFNode.hpp.

◆ out_supplement

void* sparta::memory::BlockingMemoryIFNode::ReadAccess::out_supplement

Supplementary data-object associated with the memory transaction which caused this notification. Used to send information back about the transaction.

Definition at line 95 of file BlockingMemoryIFNode.hpp.

◆ size

addr_t sparta::memory::BlockingMemoryIFNode::ReadAccess::size

Size in bytes of the access.

Definition at line 78 of file BlockingMemoryIFNode.hpp.


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