SystemC  Recoding Infrastructure for SystemC v0.6.3 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Classes | Namespaces | Macros | Functions
sc_trace.h File Reference
#include <cstdio>
#include "sysc/datatypes/int/sc_nbdefs.h"
#include "sysc/kernel/sc_time.h"
Include dependency graph for sc_trace.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sc_core::sc_signal_in_if< T >
 
class  sc_core::sc_trace_file
 

Namespaces

 sc_dt
 
 sc_core
 

Macros

#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)
 

Macro Definition Documentation

#define DECL_TRACE_FUNC_A (   tp)
Value:
#define DECL_TRACE_FUNC_REF_A(tp)
Definition: sc_trace.h:175
#define DECL_TRACE_FUNC_PTR_A(tp)
Definition: sc_trace.h:181

Definition at line 187 of file sc_trace.h.

#define DECL_TRACE_FUNC_PTR_A (   tp)
Value:
sc_trace( sc_trace_file* tf, \
const tp* object, \
const std::string& name ); \
void sc_trace(sc_trace_file *tf, const sc_in< T > &port, const std::string &name)

Definition at line 181 of file sc_trace.h.

#define DECL_TRACE_FUNC_REF_A (   tp)
Value:
sc_trace( sc_trace_file* tf, \
const tp& object, \
const std::string& name );
void sc_trace(sc_trace_file *tf, const sc_in< T > &port, const std::string &name)

Definition at line 175 of file sc_trace.h.

#define DECL_TRACE_METHOD_A (   tp)
Value:
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)
Value:
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)
Value:
#define DEFN_TRACE_FUNC_PTR_A(tp)
Definition: sc_trace.h:221
#define DEFN_TRACE_FUNC_REF_A(tp)
Definition: sc_trace.h:211

Definition at line 231 of file sc_trace.h.

#define DEFN_TRACE_FUNC_B (   tp)
Value:
#define DEFN_TRACE_FUNC_REF_B(tp)
Definition: sc_trace.h:236
#define DEFN_TRACE_FUNC_PTR_B(tp)
Definition: sc_trace.h:247

Definition at line 259 of file sc_trace.h.

#define DEFN_TRACE_FUNC_PTR_A (   tp)
Value:
sc_trace( sc_trace_file* tf, const tp* object, const std::string& name ) \
{ \
if( tf ) { \
tf->trace( *object, name ); \
} \
}
void sc_trace(sc_trace_file *tf, const sc_in< T > &port, const std::string &name)

Definition at line 221 of file sc_trace.h.

#define DEFN_TRACE_FUNC_PTR_B (   tp)
Value:
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 ); \
} \
}
void sc_trace(sc_trace_file *tf, const sc_in< T > &port, const std::string &name)

Definition at line 247 of file sc_trace.h.

#define DEFN_TRACE_FUNC_REF_A (   tp)
Value:
sc_trace( sc_trace_file* tf, const tp& object, const std::string& name ) \
{ \
if( tf ) { \
tf->trace( object, name ); \
} \
}
void sc_trace(sc_trace_file *tf, const sc_in< T > &port, const std::string &name)

Definition at line 211 of file sc_trace.h.

#define DEFN_TRACE_FUNC_REF_B (   tp)
Value:
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 ); \
} \
}
void sc_trace(sc_trace_file *tf, const sc_in< T > &port, const std::string &name)

Definition at line 236 of file sc_trace.h.