sc_core::wif_trace_file Class Reference

#include <sysc/tracing/sc_wif_trace.h>

Inheritance diagram for sc_core::wif_trace_file:

Inheritance graph
[legend]
Collaboration diagram for sc_core::wif_trace_file:

Collaboration graph
[legend]

List of all members.

Public Types

enum  wif_enum { WIF_BIT = 0, WIF_MVL = 1, WIF_REAL = 2, WIF_LAST }

Public Member Functions

void sc_set_wif_time_unit (int exponent10_seconds)
 wif_trace_file (const char *name)
 ~wif_trace_file ()
std::string obtain_new_index ()
virtual void trace (const unsigned int &object, const std::string &name, const char **enum_literals)=0
virtual void space (int n)
virtual void set_time_unit (int exponent10_seconds)
virtual void set_time_unit (double v, sc_time_unit tu)

Public Attributes

std::vector< wif_trace * > traces

Protected Member Functions

void trace (const bool &object, const std::string &name)
void trace (const sc_dt::sc_bit &object, const std::string &name)
void trace (const sc_dt::sc_logic &object, const std::string &name)
void trace (const unsigned char &object, const std::string &name, int width)
void trace (const unsigned short &object, const std::string &name, int width)
void trace (const unsigned int &object, const std::string &name, int width)
void trace (const unsigned long &object, const std::string &name, int width)
void trace (const char &object, const std::string &name, int width)
void trace (const short &object, const std::string &name, int width)
void trace (const int &object, const std::string &name, int width)
void trace (const long &object, const std::string &name, int width)
void trace (const sc_dt::int64 &object, const std::string &name, int width)
void trace (const sc_dt::uint64 &object, const std::string &name, int width)
void trace (const float &object, const std::string &name)
void trace (const double &object, const std::string &name)
void trace (const sc_dt::sc_unsigned &object, const std::string &name)
void trace (const sc_dt::sc_signed &object, const std::string &name)
void trace (const sc_dt::sc_uint_base &object, const std::string &name)
void trace (const sc_dt::sc_int_base &object, const std::string &name)
void trace (const sc_dt::sc_fxval &object, const std::string &name)
void trace (const sc_dt::sc_fxval_fast &object, const std::string &name)
void trace (const sc_dt::sc_fxnum &object, const std::string &name)
void trace (const sc_dt::sc_fxnum_fast &object, const std::string &name)
template<class T>
void traceT (const T &object, const std::string &name, wif_enum type)
virtual void trace (const sc_dt::sc_bv_base &object, const std::string &name)
virtual void trace (const sc_dt::sc_lv_base &object, const std::string &name)
void trace (const unsigned &object, const std::string &name, const char **enum_literals)
void write_comment (const std::string &comment)
void delta_cycles (bool flag)
void cycle (bool delta_cycle)

Protected Attributes

bool initialized
double timescale_unit
bool timescale_set_by_user


Detailed Description

Definition at line 69 of file sc_wif_trace.h.


Member Enumeration Documentation

Enumerator:
WIF_BIT 
WIF_MVL 
WIF_REAL 
WIF_LAST 

Definition at line 71 of file sc_wif_trace.h.


Constructor & Destructor Documentation

sc_core::wif_trace_file::wif_trace_file ( const char *  name  ) 

Definition at line 1564 of file sc_wif_trace.cpp.

sc_core::wif_trace_file::~wif_trace_file (  ) 

Definition at line 1928 of file sc_wif_trace.cpp.


Member Function Documentation

void sc_core::wif_trace_file::sc_set_wif_time_unit ( int  exponent10_seconds  )  [inline]

Definition at line 74 of file sc_wif_trace.h.

void sc_core::wif_trace_file::trace ( const bool &  object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::sc_bit object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::sc_logic object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const unsigned char &  object,
const std::string &  name,
int  width 
) [protected]

void sc_core::wif_trace_file::trace ( const unsigned short object,
const std::string &  name,
int  width 
) [protected]

void sc_core::wif_trace_file::trace ( const unsigned int &  object,
const std::string &  name,
int  width 
) [protected]

void sc_core::wif_trace_file::trace ( const unsigned long object,
const std::string &  name,
int  width 
) [protected]

void sc_core::wif_trace_file::trace ( const char &  object,
const std::string &  name,
int  width 
) [protected]

void sc_core::wif_trace_file::trace ( const short object,
const std::string &  name,
int  width 
) [protected]

void sc_core::wif_trace_file::trace ( const int &  object,
const std::string &  name,
int  width 
) [protected]

void sc_core::wif_trace_file::trace ( const long object,
const std::string &  name,
int  width 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::int64 object,
const std::string &  name,
int  width 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::uint64 object,
const std::string &  name,
int  width 
) [protected]

void sc_core::wif_trace_file::trace ( const float &  object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const double &  object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::sc_unsigned object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::sc_signed object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::sc_uint_base object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::sc_int_base object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::sc_fxval object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::sc_fxval_fast object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::sc_fxnum object,
const std::string &  name 
) [protected]

void sc_core::wif_trace_file::trace ( const sc_dt::sc_fxnum_fast object,
const std::string &  name 
) [protected]

template<class T>
void sc_core::wif_trace_file::traceT ( const T object,
const std::string &  name,
wif_enum  type 
) [inline, protected]

Definition at line 169 of file sc_wif_trace.h.

void sc_core::wif_trace_file::trace ( const sc_dt::sc_bv_base object,
const std::string &  name 
) [protected, virtual]

Definition at line 1819 of file sc_wif_trace.cpp.

void sc_core::wif_trace_file::trace ( const sc_dt::sc_lv_base object,
const std::string &  name 
) [protected, virtual]

Definition at line 1826 of file sc_wif_trace.cpp.

void sc_core::wif_trace_file::trace ( const unsigned &  object,
const std::string &  name,
const char **  enum_literals 
) [protected]

Definition at line 1801 of file sc_wif_trace.cpp.

void sc_core::wif_trace_file::write_comment ( const std::string &  comment  )  [protected, virtual]

Implements sc_core::sc_trace_file.

Definition at line 1834 of file sc_wif_trace.cpp.

void sc_core::wif_trace_file::delta_cycles ( bool  flag  )  [protected, virtual]

Reimplemented from sc_core::sc_trace_file.

Definition at line 1842 of file sc_wif_trace.cpp.

void sc_core::wif_trace_file::cycle ( bool  delta_cycle  )  [protected, virtual]

Implements sc_core::sc_trace_file.

Definition at line 1848 of file sc_wif_trace.cpp.

std::string sc_core::wif_trace_file::obtain_new_index (  ) 

Definition at line 1920 of file sc_wif_trace.cpp.

virtual void sc_core::sc_trace_file::trace ( const unsigned int &  object,
const std::string &  name,
const char **  enum_literals 
) [pure virtual, inherited]

void sc_core::sc_trace_file::space ( int  n  )  [virtual, inherited]

Definition at line 158 of file sc_trace.cpp.

void sc_core::sc_trace_file::set_time_unit ( int  exponent10_seconds  )  [virtual, inherited]

Definition at line 116 of file sc_trace.cpp.

void sc_core::sc_trace_file::set_time_unit ( double  v,
sc_time_unit  tu 
) [virtual, inherited]

Definition at line 76 of file sc_trace.cpp.


Member Data Documentation

Definition at line 225 of file sc_wif_trace.h.

bool sc_core::sc_trace_file::initialized [protected, inherited]

Definition at line 170 of file sc_trace.h.

double sc_core::sc_trace_file::timescale_unit [protected, inherited]

Definition at line 174 of file sc_trace.h.

bool sc_core::sc_trace_file::timescale_set_by_user [protected, inherited]

Definition at line 175 of file sc_trace.h.


The documentation for this class was generated from the following files:

Generated on Wed Jan 21 15:32:16 2009 for SystemC by  doxygen 1.5.5