scc 2025.09
SystemC components library
axi::scv::axitlm_recorder_module< BUSWIDTH, TYPES, BASE > Class Template Reference

The TLM2 transaction recorder. More...

#include <recorder_modules.h>

Inheritance diagram for axi::scv::axitlm_recorder_module< BUSWIDTH, TYPES, BASE >:
Collaboration diagram for axi::scv::axitlm_recorder_module< BUSWIDTH, TYPES, BASE >:

Public Member Functions

 SC_HAS_PROCESS (axitlm_recorder_module)
 axitlm_recorder_module (sc_core::sc_module_name name, bool recording_enabled=true, SCVNS scv_tr_db *tr_db=SCVNS scv_tr_db::get_default_db())
 The constructor of the component.
BASE::template target_socket_type< BUSWIDTH >::base_type::fw_interface_type * get_fw_if () override
BASE::template target_socket_type< BUSWIDTH >::base_type::bw_interface_type * get_bw_if () override

Public Attributes

BASE::template target_socket_type< BUSWIDTH > tsckt {"tsckt"}
 The target socket of the recorder to be bound to the initiator.
BASE::template initiator_socket_type< BUSWIDTH > isckt {"isckt"}
 The initiator to be bound to the target socket.

Detailed Description

template<unsigned int BUSWIDTH, typename TYPES, typename BASE>
class axi::scv::axitlm_recorder_module< BUSWIDTH, TYPES, BASE >

The TLM2 transaction recorder.

This module records all TLM transaction to a SCV transaction stream for further viewing and analysis. The handle of the created transaction is storee in an tlm_extension so that another instance of the scv_tlm2_recorder e.g. further down the opath can link to it. The transaction recorder is simply bound between an existing pair of initiator and target sockets

Definition at line 35 of file recorder_modules.h.

Constructor & Destructor Documentation

◆ axitlm_recorder_module()

template<unsigned int BUSWIDTH, typename TYPES, typename BASE>
axi::scv::axitlm_recorder_module< BUSWIDTH, TYPES, BASE >::axitlm_recorder_module ( sc_core::sc_module_name name,
bool recording_enabled = true,
SCVNS scv_tr_db * tr_db = SCVNS scv_tr_db::get_default_db() )
inline

The constructor of the component.

Parameters
nameis the SystemC module name of the recorder
tr_dbis a pointer to a transaction recording database. If none is provided the default one is retrieved. If this database is not initialized (e.g. by not calling scv_tr_db::set_default_db() ) recording is disabled.

Definition at line 51 of file recorder_modules.h.

◆ ~axitlm_recorder_module()

template<unsigned int BUSWIDTH, typename TYPES, typename BASE>
axi::scv::axitlm_recorder_module< BUSWIDTH, TYPES, BASE >::~axitlm_recorder_module ( )
inline

Definition at line 60 of file recorder_modules.h.

Member Function Documentation

◆ get_bw_if()

template<unsigned int BUSWIDTH, typename TYPES, typename BASE>
BASE::template target_socket_type< BUSWIDTH >::base_type::bw_interface_type * axi::scv::axitlm_recorder_module< BUSWIDTH, TYPES, BASE >::get_bw_if ( )
inlineoverride

Definition at line 64 of file recorder_modules.h.

◆ get_fw_if()

template<unsigned int BUSWIDTH, typename TYPES, typename BASE>
BASE::template target_socket_type< BUSWIDTH >::base_type::fw_interface_type * axi::scv::axitlm_recorder_module< BUSWIDTH, TYPES, BASE >::get_fw_if ( )
inlineoverride

Definition at line 62 of file recorder_modules.h.

Member Data Documentation

◆ isckt

template<unsigned int BUSWIDTH, typename TYPES, typename BASE>
BASE::template initiator_socket_type<BUSWIDTH> axi::scv::axitlm_recorder_module< BUSWIDTH, TYPES, BASE >::isckt {"isckt"}

The initiator to be bound to the target socket.

Definition at line 41 of file recorder_modules.h.

◆ tsckt

template<unsigned int BUSWIDTH, typename TYPES, typename BASE>
BASE::template target_socket_type<BUSWIDTH> axi::scv::axitlm_recorder_module< BUSWIDTH, TYPES, BASE >::tsckt {"tsckt"}

The target socket of the recorder to be bound to the initiator.

Definition at line 39 of file recorder_modules.h.


The documentation for this class was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/third_party/axi_chi/axi/scv/recorder_modules.h