scc
2022.4.0
SystemC components library
|
a component traversing the SystemC object hierarchy and tracing the objects More...
#include <tracer.h>
Public Types | |
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... | |
Public Member Functions | |
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 | |
Public Member Functions inherited from scc::tracer_base | |
tracer_base (const sc_core::sc_module_name &nm) | |
named constructor More... | |
tracer_base (const sc_core::sc_module_name &nm, sc_core::sc_trace_file *tf, bool owned=true) | |
named constructor with trace file More... | |
~tracer_base () | |
destructor | |
void | set_trace_types (trace_types t) |
set the types to trace More... | |
const sc_core::sc_trace_file * | get_trace_file () const |
get the tracefile used by this tracer More... | |
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 More... | |
Public Attributes | |
cci::cci_param< unsigned > | tx_trace_type |
cci::cci_param< unsigned > | sig_trace_type |
cci::cci_param< bool > | close_db_in_eos |
Protected Member Functions | |
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 |
Protected Member Functions inherited from scc::tracer_base | |
virtual void | descend (const sc_core::sc_object *, bool trace_all) |
Protected Attributes | |
scv_tr::scv_tr_db * | txdb {nullptr} |
lwtr::tx_db * | lwtr_db {nullptr} |
cci::cci_broker_handle | cci_broker |
the cci broker | |
Protected Attributes inherited from scc::tracer_base | |
bool | default_trace_enable {true} |
the default for tracing if no attribute is configured | |
sc_core::sc_trace_file * | trf {nullptr} |
trace_types | types_to_trace {trace_types::ALL} |
Additional Inherited Members | |
Static Protected Member Functions inherited from scc::tracer_base | |
static std::string | get_name () |
static void | try_trace (sc_core::sc_trace_file *trace_file, const sc_core::sc_object *object, trace_types t) |
a component traversing the SystemC object hierarchy and tracing the objects
cci::cci_param<bool> scc::tracer::close_db_in_eos |
cci::cci_param<unsigned> scc::tracer::sig_trace_type |
cci::cci_param<unsigned> scc::tracer::tx_trace_type |