scc 2025.09
SystemC components library
cxs::cxs_flit_payload Struct Reference
Inheritance diagram for cxs::cxs_flit_payload:
Collaboration diagram for cxs::cxs_flit_payload:

Public Member Functions

 cxs_flit_payload (tlm::nw::tlm_base_mm_interface *mm)
cxs_flit_payload & operator= (const cxs_flit_payload &x)
Public Member Functions inherited from tlm::nw::tlm_network_payload< CXS_CMD >
 tlm_network_payload ()
 Default constructor.
virtual ~tlm_network_payload ()=default
void deep_copy_from (const tlm_network_payload &other)
 Non-virtual deep-copying of the object.
CXS_CMD get_command () const
 Gets the command from the payload.
void set_command (const CXS_CMD command)
 Sets the command in the payload.
std::vector< uint8_t > const & get_data () const
 Gets the data from the payload.
void set_data (std::vector< uint8_t > const &value)
 Sets the data in the payload.
bool is_response_ok () const
 Checks if the response status is OK.
bool is_response_error () const
 Checks if the response status is an error.
tlm_response_status get_response_status () const
 Gets the response status from the payload.
void set_response_status (const tlm_response_status response_status)
 Sets the response status in the payload.
std::string get_response_string () const
 Gets the response status as a string.
Public Member Functions inherited from tlm::nw::tlm_network_payload_base
 tlm_network_payload_base ()
 Default constructor.
 tlm_network_payload_base (tlm_base_mm_interface *mm)
 Constructor with memory management interface.
virtual ~tlm_network_payload_base ()
void reset ()
 Constructor with memory management interface.
void acquire ()
 Acquires a reference to the payload.
void release ()
 Releases a reference to the payload.
int get_ref_count () const
 Gets the reference count of the payload.
void set_mm (tlm_base_mm_interface *mm)
bool has_mm () const
void copy_extensions_from (const tlm_network_payload_base &other)
void update_extensions_from (const tlm_network_payload_base &other)
void free_all_extensions ()
template<typename T>
T * set_extension (T *ext)
tlm_extension_base * set_extension (unsigned int index, tlm_extension_base *ext)
template<typename T>
T * set_auto_extension (T *ext)
tlm_extension_base * set_auto_extension (unsigned int index, tlm_extension_base *ext)
template<typename T>
void get_extension (T *&ext) const
template<typename T>
T * get_extension () const
tlm_extension_base * get_extension (unsigned int index) const
template<typename T>
void clear_extension (const T *ext)
template<typename T>
void clear_extension ()
template<typename T>
void release_extension (T *ext)
template<typename T>
void release_extension ()
size_t get_extension_count ()
void resize_extensions ()

Public Attributes

std::array< uint8_t, 8 > start_ptr
std::array< uint8_t, 8 > end_ptr
uint8_t start {0}
uint8_t end {0}
uint8_t end_error {0}
bool last {false}

Additional Inherited Members

Static Public Member Functions inherited from tlm::nw::tlm_network_payload< CXS_CMD >
static tlm_network_payload< CXS_CMD > * create ()
 Creates a new instance of the tlm_network_payload using a thread-local memory manager.
Protected Member Functions inherited from tlm::nw::tlm_network_payload< CXS_CMD >
tlm_network_payload< CXS_CMD > & operator= (const tlm_network_payload< CXS_CMD > &x)
Protected Attributes inherited from tlm::nw::tlm_network_payload< CXS_CMD >
CXS_CMD m_command
std::vector< uint8_t > m_data
tlm_response_status m_response_status

Detailed Description

Definition at line 35 of file cxs_tlm.h.

Constructor & Destructor Documentation

◆ cxs_flit_payload()

cxs::cxs_flit_payload::cxs_flit_payload ( tlm::nw::tlm_base_mm_interface * mm)
inlineexplicit

Definition at line 38 of file cxs_tlm.h.

Member Function Documentation

◆ operator=()

cxs_flit_payload & cxs::cxs_flit_payload::operator= ( const cxs_flit_payload & x)
inline

Definition at line 48 of file cxs_tlm.h.

Member Data Documentation

◆ end

uint8_t cxs::cxs_flit_payload::end {0}

Definition at line 44 of file cxs_tlm.h.

◆ end_error

uint8_t cxs::cxs_flit_payload::end_error {0}

Definition at line 45 of file cxs_tlm.h.

◆ end_ptr

std::array<uint8_t, 8> cxs::cxs_flit_payload::end_ptr

Definition at line 42 of file cxs_tlm.h.

◆ last

bool cxs::cxs_flit_payload::last {false}

Definition at line 46 of file cxs_tlm.h.

◆ start

uint8_t cxs::cxs_flit_payload::start {0}

Definition at line 43 of file cxs_tlm.h.

◆ start_ptr

std::array<uint8_t, 8> cxs::cxs_flit_payload::start_ptr

Definition at line 41 of file cxs_tlm.h.


The documentation for this struct was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/interfaces/cxs/cxs_tlm.h