scc 2025.09
SystemC components library
chi::chi_credit_extension Struct Reference
Inheritance diagram for chi::chi_credit_extension:
Collaboration diagram for chi::chi_credit_extension:

Public Member Functions

 chi_credit_extension ()=default
 the default constructor
 chi_credit_extension (credit_type_e type, unsigned short count=1)
tlm::tlm_extension_base * clone () const
 the copy constructor
void copy_from (tlm::tlm_extension_base const &ext)
 deep copy all values from ext
Public Member Functions inherited from chi::credit
 credit (short unsigned count, chi::credit_type_e type)

Additional Inherited Members

Public Attributes inherited from chi::credit
unsigned short count {1}
credit_type_e type {credit_type_e::LINK}

Detailed Description

Definition at line 857 of file chi_tlm.h.

Constructor & Destructor Documentation

◆ chi_credit_extension()

chi::chi_credit_extension::chi_credit_extension ( credit_type_e type,
unsigned short count = 1 )
inline

Definition at line 863 of file chi_tlm.h.

Member Function Documentation

◆ clone()

tlm::tlm_extension_base * chi::chi_credit_extension::clone ( ) const
inline

the copy constructor

Parameters
theextension to copy from chi_credit_extension(const chi_credit_extension* o) : chi_extension<response>(o){}

the clone function to create deep copies of

Returns
pointer to heap-allocated extension

Definition at line 874 of file chi_tlm.h.

◆ copy_from()

void chi::chi_credit_extension::copy_from ( tlm::tlm_extension_base const & ext)
inline

deep copy all values from ext

Parameters
ext

Definition at line 879 of file chi_tlm.h.


The documentation for this struct was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/third_party/axi_chi/chi/chi_tlm.h