scc 2025.09
SystemC components library
tlm::scc::scv::tlm_gp_data Class Reference

Public Member Functions

 tlm_gp_data (tlm::tlm_generic_payload const &o)
 tlm_gp_data (tlm_gp_data const &x)=default
 tlm_gp_data (tlm_gp_data &&x)=default
tlm_gp_data & operator= (tlm_gp_data const &x)=default
tlm_gp_data & operator= (tlm_gp_data &&x)=default
void reset ()
void update_generic_payload (tlm::tlm_generic_payload &other, bool transfer_ownership=false)
std::string get_response_string () const
uint64_t get_data_value ()

Public Attributes

sc_dt::uint64 address {0}
tlm::tlm_command command {tlm::TLM_IGNORE_COMMAND}
unsigned char * data {nullptr}
unsigned int data_length {0}
tlm::tlm_response_status response_status {tlm::TLM_INCOMPLETE_RESPONSE}
bool dmi_allowed {false}
unsigned char * byte_enable {nullptr}
unsigned int byte_enable_length {0}
unsigned int streaming_width {0}
tlm::tlm_gp_option gp_option {tlm::TLM_MIN_PAYLOAD}
uintptr_t uid {0}

Detailed Description

Definition at line 30 of file tlm_gp_data.h.

Constructor & Destructor Documentation

◆ tlm_gp_data()

tlm::scc::scv::tlm_gp_data::tlm_gp_data ( tlm::tlm_generic_payload const & o)
inlineexplicit

Definition at line 36 of file tlm_gp_data.h.

◆ ~tlm_gp_data()

virtual tlm::scc::scv::tlm_gp_data::~tlm_gp_data ( )
inlinevirtual

Definition at line 62 of file tlm_gp_data.h.

Member Function Documentation

◆ get_data_value()

uint64_t tlm::scc::scv::tlm_gp_data::get_data_value ( )
inline

Definition at line 111 of file tlm_gp_data.h.

◆ get_response_string()

std::string tlm::scc::scv::tlm_gp_data::get_response_string ( ) const
inline

Definition at line 91 of file tlm_gp_data.h.

◆ reset()

void tlm::scc::scv::tlm_gp_data::reset ( )
inline

Definition at line 64 of file tlm_gp_data.h.

◆ update_generic_payload()

void tlm::scc::scv::tlm_gp_data::update_generic_payload ( tlm::tlm_generic_payload & other,
bool transfer_ownership = false )
inline

update the payload from the tlm_gp_data. Esp. usefull when used in randomization.

Parameters
otherthe tlm_generic_payload to update
transfer_ownershipif set to true the ownership of the data and byte_enable pointers is transferred

Definition at line 74 of file tlm_gp_data.h.

Member Data Documentation

◆ address

sc_dt::uint64 tlm::scc::scv::tlm_gp_data::address {0}

Definition at line 119 of file tlm_gp_data.h.

◆ byte_enable

unsigned char* tlm::scc::scv::tlm_gp_data::byte_enable {nullptr}

Definition at line 125 of file tlm_gp_data.h.

◆ byte_enable_length

unsigned int tlm::scc::scv::tlm_gp_data::byte_enable_length {0}

Definition at line 126 of file tlm_gp_data.h.

◆ command

tlm::tlm_command tlm::scc::scv::tlm_gp_data::command {tlm::TLM_IGNORE_COMMAND}

Definition at line 120 of file tlm_gp_data.h.

◆ data

unsigned char* tlm::scc::scv::tlm_gp_data::data {nullptr}

Definition at line 121 of file tlm_gp_data.h.

◆ data_length

unsigned int tlm::scc::scv::tlm_gp_data::data_length {0}

Definition at line 122 of file tlm_gp_data.h.

◆ dmi_allowed

bool tlm::scc::scv::tlm_gp_data::dmi_allowed {false}

Definition at line 124 of file tlm_gp_data.h.

◆ gp_option

tlm::tlm_gp_option tlm::scc::scv::tlm_gp_data::gp_option {tlm::TLM_MIN_PAYLOAD}

Definition at line 128 of file tlm_gp_data.h.

◆ response_status

tlm::tlm_response_status tlm::scc::scv::tlm_gp_data::response_status {tlm::TLM_INCOMPLETE_RESPONSE}

Definition at line 123 of file tlm_gp_data.h.

◆ streaming_width

unsigned int tlm::scc::scv::tlm_gp_data::streaming_width {0}

Definition at line 127 of file tlm_gp_data.h.

◆ uid

uintptr_t tlm::scc::scv::tlm_gp_data::uid {0}

Definition at line 129 of file tlm_gp_data.h.


The documentation for this class was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/sysc/tlm/scc/scv/tlm_gp_data.h