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

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

#include <Register.hpp>

Collaboration diagram for sparta::RegisterBase::PostWriteAccess:

Public Member Functions

 PostWriteAccess (const RegisterBase *_reg, const DataView *_prior_dview, const DataView *_final_dview)
 

Public Attributes

const RegisterBase *const reg
 Register on which the write access took place.
 
const DataView *const prior
 Value of reg prior to this write.
 
const DataView *const final
 Value of reg after write (after masking and/or actions such as clear-on-write are applied). Final can also be retrieved through reg.
 

Detailed Description

Structure containing data for a Register post-write notification.

The data in this structure is only guaranteed to be valid within a notification callback

Definition at line 482 of file Register.hpp.

Constructor & Destructor Documentation

◆ PostWriteAccess()

sparta::RegisterBase::PostWriteAccess::PostWriteAccess ( const RegisterBase _reg,
const DataView _prior_dview,
const DataView _final_dview 
)
inline

Definition at line 486 of file Register.hpp.

Member Data Documentation

◆ final

const DataView* const sparta::RegisterBase::PostWriteAccess::final

Value of reg after write (after masking and/or actions such as clear-on-write are applied). Final can also be retrieved through reg.

Definition at line 508 of file Register.hpp.

◆ prior

const DataView* const sparta::RegisterBase::PostWriteAccess::prior

Value of reg prior to this write.

Definition at line 501 of file Register.hpp.

◆ reg

const RegisterBase* const sparta::RegisterBase::PostWriteAccess::reg

Register on which the write access took place.

Definition at line 496 of file Register.hpp.


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