sc_core::vcd_trace_file Class Reference

#include <sysc/tracing/sc_vcd_trace.h>

Inheritance diagram for sc_core::vcd_trace_file:

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

Collaboration graph
[legend]

List of all members.

Public Types

enum  vcd_enum { VCD_WIRE = 0, VCD_REAL = 1, VCD_LAST }

Public Member Functions

void sc_set_vcd_time_unit (int exponent10_seconds)
 vcd_trace_file (const char *name)
 ~vcd_trace_file ()
std::string obtain_name ()
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< vcd_trace * > traces

Protected Member Functions

void trace (const bool &object, const std::string &name)
virtual 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_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_unsigned &object, const std::string &name)
void trace (const sc_dt::sc_signed &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, vcd_enum type=VCD_WIRE)
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 66 of file sc_vcd_trace.h.


Member Enumeration Documentation

Enumerator:
VCD_WIRE 
VCD_REAL 
VCD_LAST 

Definition at line 71 of file sc_vcd_trace.h.


Constructor & Destructor Documentation

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

Definition at line 1710 of file sc_vcd_trace.cpp.

sc_core::vcd_trace_file::~vcd_trace_file (  ) 

Definition at line 2184 of file sc_vcd_trace.cpp.


Member Function Documentation

void sc_core::vcd_trace_file::sc_set_vcd_time_unit ( int  exponent10_seconds  )  [inline]

Definition at line 73 of file sc_vcd_trace.h.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

template<class T>
void sc_core::vcd_trace_file::traceT ( const T object,
const std::string &  name,
vcd_enum  type = VCD_WIRE 
) [inline, protected]

Definition at line 170 of file sc_vcd_trace.h.

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

Definition at line 284 of file sc_vcd_trace.cpp.

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

Definition at line 292 of file sc_vcd_trace.cpp.

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

Definition at line 1961 of file sc_vcd_trace.cpp.

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

Implements sc_core::sc_trace_file.

Definition at line 1980 of file sc_vcd_trace.cpp.

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

Reimplemented from sc_core::sc_trace_file.

Definition at line 1989 of file sc_vcd_trace.cpp.

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

Implements sc_core::sc_trace_file.

Definition at line 1995 of file sc_vcd_trace.cpp.

std::string sc_core::vcd_trace_file::obtain_name (  ) 

Definition at line 2161 of file sc_vcd_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 221 of file sc_vcd_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:15 2009 for SystemC by  doxygen 1.5.5