scc
2024.06
SystemC components library
|
The TLM2 transaction recorder. More...
#include <recorder_modules.h>
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. More... | |
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. | |
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.
|
inline |
The constructor of the component.
name | is the SystemC module name of the recorder |
tr_db | is 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.