scc  2022.4.0
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_dataoperator= (tlm_gp_data const &x)=default
 
tlm_gp_dataoperator= (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.

Member Function Documentation

◆ 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.


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