scc
2022.4.0
SystemC components library
|
The TLM2 transaction recorder. More...
#include <tlm_recorder_module.h>
Public Member Functions | |
SC_HAS_PROCESS (tlm_recorder_module) | |
tlm_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... | |
sc_core::sc_attribute< bool > | enableTimedTracing () |
Public Attributes | |
tlm::tlm_target_socket< BUSWIDTH, TYPES, 1 > | ts {"ts"} |
The target socket of the recorder to be bound to the initiator. | |
tlm::tlm_initiator_socket< BUSWIDTH, TYPES, 1 > | is {"is"} |
The initiator to be bound to the target socket. | |
std::unique_ptr< tlm_recorder< TYPES > > | recorder |
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_tlm_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 40 of file tlm_recorder_module.h.
|
inline |
The constructor of the component.
name | is the SystemC module name of the recorder |
recording_enabled | if true the recorder is enabled after construction |
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 56 of file tlm_recorder_module.h.