scc 2025.09
SystemC components library
tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES > Class Template Reference

The TLM2 transaction recorder. More...

#include <tlc_recorder.h>

Inheritance diagram for tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES >:
Collaboration diagram for tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES >:

Public Types

using BASE = tlc_recorder<TYPES>

Public Member Functions

 SC_HAS_PROCESS (axitlm_recorder_module)
 tlc_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
 the port where fw accesses are forwarded to
BASE::template target_socket_type< BUSWIDTH >::base_type::bw_interface_type * get_bw_if () override
 the port where bw accesses are forwarded to

Public Attributes

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

Additional Inherited Members

Detailed Description

template<unsigned int BUSWIDTH, typename TYPES = tilelink::tl_protocol_types>
class tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES >

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 344 of file tlc_recorder.h.

Member Typedef Documentation

◆ BASE

template<unsigned int BUSWIDTH, typename TYPES = tilelink::tl_protocol_types>
using tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES >::BASE = tlc_recorder<TYPES>

Definition at line 346 of file tlc_recorder.h.

Constructor & Destructor Documentation

◆ tlc_recorder_module()

template<unsigned int BUSWIDTH, typename TYPES = tilelink::tl_protocol_types>
tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES >::tlc_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 361 of file tlc_recorder.h.

◆ ~tlc_recorder_module()

template<unsigned int BUSWIDTH, typename TYPES = tilelink::tl_protocol_types>
tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES >::~tlc_recorder_module ( )
inline

Definition at line 378 of file tlc_recorder.h.

Member Function Documentation

◆ get_bw_if()

template<unsigned int BUSWIDTH, typename TYPES = tilelink::tl_protocol_types>
BASE::template target_socket_type< BUSWIDTH >::base_type::bw_interface_type * tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES >::get_bw_if ( )
inlineoverridevirtual

the port where bw accesses are forwarded to

Implements tilelink::scv::tlc_recorder< tilelink::tl_protocol_types >.

Definition at line 384 of file tlc_recorder.h.

◆ get_fw_if()

template<unsigned int BUSWIDTH, typename TYPES = tilelink::tl_protocol_types>
BASE::template target_socket_type< BUSWIDTH >::base_type::fw_interface_type * tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES >::get_fw_if ( )
inlineoverridevirtual

the port where fw accesses are forwarded to

Implements tilelink::scv::tlc_recorder< tilelink::tl_protocol_types >.

Definition at line 380 of file tlc_recorder.h.

Member Data Documentation

◆ is

template<unsigned int BUSWIDTH, typename TYPES = tilelink::tl_protocol_types>
BASE::template initiator_socket_type<BUSWIDTH> tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES >::is {"is"}

The initiator to be bound to the target socket.

Definition at line 351 of file tlc_recorder.h.

◆ ts

template<unsigned int BUSWIDTH, typename TYPES = tilelink::tl_protocol_types>
BASE::template target_socket_type<BUSWIDTH> tilelink::scv::tlc_recorder_module< BUSWIDTH, TYPES >::ts {"ts"}

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

Definition at line 349 of file tlc_recorder.h.


The documentation for this class was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/interfaces/tilelink/scv/tlc_recorder.h