scc 2025.09
SystemC components library
ocp::ocp_extension Struct Reference
Inheritance diagram for ocp::ocp_extension:
Collaboration diagram for ocp::ocp_extension:

Public Member Functions

 ocp_extension (const ocp_extension &o)=default
tlm::tlm_extension_base * clone () const override
 the clone function to create deep copies of
void copy_from (tlm::tlm_extension_base const &ext) override
 deep copy all values from ext
cmd_e get_mcmd () const
void set_mcmd (cmd_e mCmd)
resp_e get_sresp () const
void set_sresp (resp_e sres)

Detailed Description

Definition at line 33 of file ocp_tlm.h.

Member Function Documentation

◆ clone()

tlm::tlm_extension_base * ocp::ocp_extension::clone ( ) const
inlineoverride

the clone function to create deep copies of

Returns
pointer to heap-allocated extension

Definition at line 62 of file ocp_tlm.h.

◆ copy_from()

void ocp::ocp_extension::copy_from ( tlm::tlm_extension_base const & ext)
inlineoverride

deep copy all values from ext

Parameters
ext

Definition at line 64 of file ocp_tlm.h.

◆ get_mcmd()

cmd_e ocp::ocp_extension::get_mcmd ( ) const
inline

Definition at line 49 of file ocp_tlm.h.

◆ get_sresp()

resp_e ocp::ocp_extension::get_sresp ( ) const
inline

Definition at line 53 of file ocp_tlm.h.

◆ set_mcmd()

void ocp::ocp_extension::set_mcmd ( cmd_e mCmd)
inline

Definition at line 51 of file ocp_tlm.h.

◆ set_sresp()

void ocp::ocp_extension::set_sresp ( resp_e sres)
inline

Definition at line 55 of file ocp_tlm.h.


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