#include <cstdio>
#include "sysc/datatypes/int/sc_nbdefs.h"
#include "sysc/utils/sc_string.h"
ネームスペース | |
namespace | sc_dt |
namespace | sc_core |
構成 | |
class | sc_core::sc_trace_file |
マクロ定義 | |
#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) |
関数 | |
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 *, const void *, 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,...) |
void | sc_core::double_to_special_int64 (double in, unsigned *high, unsigned *low) |
#define DECL_TRACE_FUNC_A | ( | tp | ) |
値:
DECL_TRACE_FUNC_REF_A(tp) \ DECL_TRACE_FUNC_PTR_A(tp)
#define DECL_TRACE_FUNC_PTR_A | ( | tp | ) |
値:
void \ sc_trace( sc_trace_file* tf, \ const tp* object, \ const std::string& name ); \
#define DECL_TRACE_FUNC_REF_A | ( | tp | ) |
値:
void \ sc_trace( sc_trace_file* tf, \ const tp& object, \ const std::string& name );
#define DECL_TRACE_METHOD_A | ( | tp | ) |
値:
virtual void trace( const tp& object, \ const std::string& name ) = 0;
#define DECL_TRACE_METHOD_B | ( | tp | ) |
値:
virtual void trace( const tp& object, \ const std::string& name, \ int width ) = 0;
#define DEFN_TRACE_FUNC_A | ( | tp | ) |
値:
DEFN_TRACE_FUNC_REF_A(tp) \ DEFN_TRACE_FUNC_PTR_A(tp)
#define DEFN_TRACE_FUNC_B | ( | tp | ) |
値:
DEFN_TRACE_FUNC_REF_B(tp) \ DEFN_TRACE_FUNC_PTR_B(tp)
#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 ); \ } \ }
#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 ); \ } \ }
#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 ); \ } \ }
#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 ); \ } \ }