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

Structure containing data for a Memory post-write notification. More...

#include <BlockingMemoryIFNode.hpp>

Collaboration diagram for sparta::memory::BlockingMemoryIFNode::PostWriteAccess:

Public Member Functions

 PostWriteAccess (DebugMemoryIF *_mem)
 

Public Attributes

DebugMemoryIF *const mem
 Register on which the write access took place.
 
addr_t addr
 Address of the access on this object.
 
addr_t size
 Size in bytes of the access.
 
const uint8_t * prior
 Value which was written to mem. Size is size field.
 
const uint8_t * tried
 Value that the write access attempted to write. 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 post-write notification.

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

Definition at line 104 of file BlockingMemoryIFNode.hpp.

Constructor & Destructor Documentation

◆ PostWriteAccess()

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

Definition at line 106 of file BlockingMemoryIFNode.hpp.

Member Data Documentation

◆ addr

addr_t sparta::memory::BlockingMemoryIFNode::PostWriteAccess::addr

Address of the access on this object.

Definition at line 126 of file BlockingMemoryIFNode.hpp.

◆ in_supplement

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

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

Definition at line 149 of file BlockingMemoryIFNode.hpp.

◆ mem

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

Register on which the write access took place.

The final value can be peeked through this interface

Definition at line 121 of file BlockingMemoryIFNode.hpp.

◆ out_supplement

void* sparta::memory::BlockingMemoryIFNode::PostWriteAccess::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 155 of file BlockingMemoryIFNode.hpp.

◆ prior

const uint8_t* sparta::memory::BlockingMemoryIFNode::PostWriteAccess::prior

Value which was written to mem. Size is size field.

Definition at line 137 of file BlockingMemoryIFNode.hpp.

◆ size

addr_t sparta::memory::BlockingMemoryIFNode::PostWriteAccess::size

Size in bytes of the access.

Definition at line 131 of file BlockingMemoryIFNode.hpp.

◆ tried

const uint8_t* sparta::memory::BlockingMemoryIFNode::PostWriteAccess::tried

Value that the write access attempted to write. Size is size field.

Definition at line 143 of file BlockingMemoryIFNode.hpp.


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