#include <cstdio>
#include "sysc/datatypes/int/sc_nbdefs.h"
#include "sysc/kernel/sc_time.h"
Go to the source code of this file.
Classes | |
class | sc_core::sc_trace_file |
Namespaces | |
namespace | sc_dt |
namespace | sc_core |
Defines | |
#define | DECL_TRACE_METHOD_A(tp) |
#define | DECL_TRACE_METHOD_B(tp) |
#define | DECL_TRACE_FUNC_REF_A(tp) |
#define | DECL_TRACE_FUNC_PTR_A(tp) |
#define | DECL_TRACE_FUNC_A(tp) |
#define | DEFN_TRACE_FUNC_REF_A(tp) |
#define | DEFN_TRACE_FUNC_PTR_A(tp) |
#define | DEFN_TRACE_FUNC_A(tp) |
#define | DEFN_TRACE_FUNC_REF_B(tp) |
#define | DEFN_TRACE_FUNC_PTR_B(tp) |
#define | DEFN_TRACE_FUNC_B(tp) |
Functions | |
template<class T > | |
void | sc_core::sc_trace (sc_trace_file *tf, const sc_signal_in_if< T > &object, const std::string &name) |
template<class T > | |
void | sc_core::sc_trace (sc_trace_file *tf, const sc_signal_in_if< T > &object, const char *name) |
void | sc_core::sc_trace (sc_trace_file *tf, const sc_signal_in_if< char > &object, const std::string &name, int width) |
void | sc_core::sc_trace (sc_trace_file *tf, const sc_signal_in_if< short > &object, const std::string &name, int width) |
void | sc_core::sc_trace (sc_trace_file *tf, const sc_signal_in_if< int > &object, const std::string &name, int width) |
void | sc_core::sc_trace (sc_trace_file *tf, const sc_signal_in_if< long > &object, const std::string &name, int width) |
void | sc_core::sc_trace (sc_trace_file *tf, const unsigned int &object, const std::string &name, const char **enum_literals) |
void | sc_core::sc_trace (sc_trace_file *tf, const void *object, const std::string &name) |
void | sc_core::sc_trace_delta_cycles (sc_trace_file *tf, bool on=true) |
void | sc_core::sc_write_comment (sc_trace_file *tf, const std::string &comment) |
void | sc_core::tprintf (sc_trace_file *tf, const char *format,...) |
sc_trace_file * | sc_core::sc_create_vcd_trace_file (const char *name) |
void | sc_core::sc_close_vcd_trace_file (sc_trace_file *tf) |
sc_trace_file * | sc_core::sc_create_wif_trace_file (const char *name) |
void | sc_core::sc_close_wif_trace_file (sc_trace_file *tf) |
#define DECL_TRACE_FUNC_A | ( | tp | ) |
DECL_TRACE_FUNC_REF_A(tp) \ DECL_TRACE_FUNC_PTR_A(tp)
Definition at line 187 of file sc_trace.h.
#define DECL_TRACE_FUNC_PTR_A | ( | tp | ) |
void \ sc_trace( sc_trace_file* tf, \ const tp* object, \ const std::string& name ); \
Definition at line 181 of file sc_trace.h.
#define DECL_TRACE_FUNC_REF_A | ( | tp | ) |
void \ sc_trace( sc_trace_file* tf, \ const tp& object, \ const std::string& name );
Definition at line 175 of file sc_trace.h.
#define DECL_TRACE_METHOD_A | ( | tp | ) |
virtual void trace( const tp& object, \ const std::string& name ) = 0;
Definition at line 94 of file sc_trace.h.
#define DECL_TRACE_METHOD_B | ( | tp | ) |
virtual void trace( const tp& object, \ const std::string& name, \ int width ) = 0;
Definition at line 98 of file sc_trace.h.
#define DEFN_TRACE_FUNC_A | ( | tp | ) |
DEFN_TRACE_FUNC_REF_A(tp) \ DEFN_TRACE_FUNC_PTR_A(tp)
Definition at line 231 of file sc_trace.h.
#define DEFN_TRACE_FUNC_B | ( | tp | ) |
DEFN_TRACE_FUNC_REF_B(tp) \ DEFN_TRACE_FUNC_PTR_B(tp)
Definition at line 259 of file sc_trace.h.
#define DEFN_TRACE_FUNC_PTR_A | ( | tp | ) |
inline \ void \ sc_trace( sc_trace_file* tf, const tp* object, const std::string& name ) \ { \ if( tf ) { \ tf->trace( *object, name ); \ } \ }
Definition at line 221 of file sc_trace.h.
#define DEFN_TRACE_FUNC_PTR_B | ( | tp | ) |
inline \ void \ sc_trace( sc_trace_file* tf, const tp* object, const std::string& name, \ int width = 8 * sizeof( tp ) ) \ { \ if( tf ) { \ tf->trace( *object, name, width ); \ } \ }
Definition at line 247 of file sc_trace.h.
#define DEFN_TRACE_FUNC_REF_A | ( | tp | ) |
inline \ void \ sc_trace( sc_trace_file* tf, const tp& object, const std::string& name ) \ { \ if( tf ) { \ tf->trace( object, name ); \ } \ }
Definition at line 211 of file sc_trace.h.
#define DEFN_TRACE_FUNC_REF_B | ( | tp | ) |
inline \ void \ sc_trace( sc_trace_file* tf, const tp& object, const std::string& name, \ int width = 8 * sizeof( tp ) ) \ { \ if( tf ) { \ tf->trace( object, name, width ); \ } \ }
Definition at line 236 of file sc_trace.h.