a component traversing the SystemC object hierarchy and tracing the objects
More...
#include <tracer.h>
|
| enum | file_type {
NONE
, ENABLE
, TEXT
, COMPRESSED
,
SQLITE
, FTR
, CFTR
, LWFTR
,
LWCFTR
, CUSTOM
, SC_VCD = TEXT
, PULL_VCD = COMPRESSED
,
PUSH_VCD = SQLITE
, FST
} |
| | defines the transaction trace output type More...
|
|
| | tracer (std::string const &&name, file_type tx_type, file_type sig_type, sc_core::sc_object *top=nullptr) |
| | tracer (std::string const &name, file_type tx_type=ENABLE, file_type sig_type=ENABLE, sc_core::sc_object *top=nullptr) |
| | tracer (std::string const &&name, file_type type, bool enable=true, sc_core::sc_object *top=nullptr) |
| | tracer (std::string const &name, file_type type, bool enable=true, sc_core::sc_object *top=nullptr) |
| | tracer (std::string const &&name, file_type type, sc_core::sc_trace_file *tf, sc_core::sc_object *top=nullptr) |
| | tracer (std::string const &name, file_type type, sc_core::sc_trace_file *tf, sc_core::sc_object *top=nullptr) |
| virtual | ~tracer () override |
| | the destructor
|
| | tracer_base (const sc_core::sc_module_name &nm) |
| | named constructor
|
| | tracer_base (const sc_core::sc_module_name &nm, sc_core::sc_trace_file *tf, bool owned=true) |
| | named constructor with trace file
|
| | ~tracer_base () |
| | destructor
|
| void | set_trace_types (trace_types t) |
| | set the types to trace
|
| const sc_core::sc_trace_file * | get_trace_file () const |
| | get the tracefile used by this tracer
|
| sc_core::sc_trace_file * | get_trace_file () |
| void | set_trace_file (sc_core::sc_trace_file *trf) |
| | set the trace file of this tracer
|
|
| | tracer (std::string const &&name, file_type tx_type, file_type sig_type, sc_core::sc_object *top, sc_core::sc_module_name const &nm) |
| | tracer (std::string const &&name, file_type type, sc_core::sc_trace_file *tf, sc_core::sc_object *top, sc_core::sc_module_name const &nm) |
| void | end_of_elaboration () override |
| void | end_of_simulation () override |
| virtual void | descend (const sc_core::sc_object *, bool trace_all) |
a component traversing the SystemC object hierarchy and tracing the objects
Definition at line 51 of file tracer.h.
◆ file_type
defines the transaction trace output type
CUSTOM means the caller needs to initialize the database driver (scv_tr_text_init() or alike)
Definition at line 59 of file tracer.h.
◆ tracer() [1/8]
| scc::tracer::tracer |
( |
std::string const && | name, |
|
|
file_type | tx_type, |
|
|
file_type | sig_type, |
|
|
sc_core::sc_object * | top = nullptr ) |
|
inline |
◆ tracer() [2/8]
| scc::tracer::tracer |
( |
std::string const & | name, |
|
|
file_type | tx_type = ENABLE, |
|
|
file_type | sig_type = ENABLE, |
|
|
sc_core::sc_object * | top = nullptr ) |
|
inline |
◆ tracer() [3/8]
| scc::tracer::tracer |
( |
std::string const && | name, |
|
|
file_type | type, |
|
|
bool | enable = true, |
|
|
sc_core::sc_object * | top = nullptr ) |
|
inline |
◆ tracer() [4/8]
| scc::tracer::tracer |
( |
std::string const & | name, |
|
|
file_type | type, |
|
|
bool | enable = true, |
|
|
sc_core::sc_object * | top = nullptr ) |
|
inline |
◆ tracer() [5/8]
| scc::tracer::tracer |
( |
std::string const && | name, |
|
|
file_type | type, |
|
|
sc_core::sc_trace_file * | tf, |
|
|
sc_core::sc_object * | top = nullptr ) |
|
inline |
◆ tracer() [6/8]
| scc::tracer::tracer |
( |
std::string const & | name, |
|
|
file_type | type, |
|
|
sc_core::sc_trace_file * | tf, |
|
|
sc_core::sc_object * | top = nullptr ) |
|
inline |
◆ ~tracer()
◆ tracer() [7/8]
| tracer::tracer |
( |
std::string const && | name, |
|
|
file_type | tx_type, |
|
|
file_type | sig_type, |
|
|
sc_core::sc_object * | top, |
|
|
sc_core::sc_module_name const & | nm ) |
|
protected |
◆ tracer() [8/8]
| tracer::tracer |
( |
std::string const && | name, |
|
|
file_type | type, |
|
|
sc_core::sc_trace_file * | tf, |
|
|
sc_core::sc_object * | top, |
|
|
sc_core::sc_module_name const & | nm ) |
|
protected |
◆ end_of_elaboration()
| void tracer::end_of_elaboration |
( |
| ) |
|
|
overrideprotected |
◆ end_of_simulation()
| void tracer::end_of_simulation |
( |
| ) |
|
|
overrideprotected |
◆ close_db_in_eos
| std::unique_ptr<cci::cci_param<bool> > scc::tracer::close_db_in_eos |
|
protected |
◆ close_db_in_eos_handle
| cci::cci_param_handle scc::tracer::close_db_in_eos_handle |
cci parameter handle to determine the file type being used to trace signals if not specified explicitly
Definition at line 89 of file tracer.h.
◆ lwtr_db
| lwtr::tx_db* scc::tracer::lwtr_db {nullptr} |
|
protected |
◆ sig_trace_type
| std::unique_ptr<cci::cci_param<unsigned> > scc::tracer::sig_trace_type |
|
protected |
◆ sig_trace_type_handle
| cci::cci_param_handle scc::tracer::sig_trace_type_handle |
cci parameter handle to determine the file type being used to trace signals if not specified explicitly
Definition at line 84 of file tracer.h.
◆ tx_trace_type
| std::unique_ptr<cci::cci_param<unsigned> > scc::tracer::tx_trace_type |
|
protected |
◆ tx_trace_type_handle
| cci::cci_param_handle scc::tracer::tx_trace_type_handle |
cci parameter handle to determine the file type being used to trace transaction if not specified explicitly
Definition at line 79 of file tracer.h.
◆ txdb
| scv_tr::scv_tr_db* scc::tracer::txdb {nullptr} |
|
protected |
The documentation for this class was generated from the following files:
- /home/eyck/Projects/MINRES/SystemC-Components/src/sysc/scc/tracer.h
- /home/eyck/Projects/MINRES/SystemC-Components/src/sysc/scc/tracer.cpp