SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
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]

Public Types

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

Public Member Functions

 vcd_trace_file (const char *name)
 
 ~vcd_trace_file ()
 
std::string obtain_name ()
 
- Public Member Functions inherited from sc_core::sc_trace_file_base
const char * filename () const
 
bool delta_cycles () const
 
virtual void delta_cycles (bool flag)
 
virtual void set_time_unit (double v, sc_time_unit tu)
 
- Public Member Functions inherited from sc_core::sc_trace_file
 sc_trace_file ()
 
virtual void trace (const unsigned int &object, const std::string &name, const char **enum_literals)=0
 
virtual void space (int n)
 

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 cycle (bool delta_cycle)
 
- Protected Member Functions inherited from sc_core::sc_trace_file_base
 sc_trace_file_base (const char *name, const char *extension)
 
bool initialize ()
 
void open_fp ()
 
bool add_trace_check (const std::string &name) const
 
virtual ~sc_trace_file_base ()
 
- Protected Member Functions inherited from sc_core::sc_trace_file
virtual ~sc_trace_file ()
 

Additional Inherited Members

- Protected Attributes inherited from sc_core::sc_trace_file_base
FILE * fp
 
double timescale_unit
 
bool timescale_set_by_user
 

Detailed Description

Definition at line 64 of file sc_vcd_trace.h.

Member Enumeration Documentation

Enumerator
VCD_WIRE 
VCD_REAL 
VCD_LAST 

Definition at line 69 of file sc_vcd_trace.h.

Constructor & Destructor Documentation

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

Member Function Documentation

void sc_core::vcd_trace_file::cycle ( bool  delta_cycle)
protectedvirtual
std::string sc_core::vcd_trace_file::obtain_name ( )
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 
)
protectedvirtual
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
virtual void sc_core::vcd_trace_file::trace ( const sc_dt::sc_bv_base object,
const std::string &  name 
)
protectedvirtual
virtual void sc_core::vcd_trace_file::trace ( const sc_dt::sc_lv_base object,
const std::string &  name 
)
protectedvirtual
void sc_core::vcd_trace_file::trace ( const unsigned &  object,
const std::string &  name,
const char **  enum_literals 
)
protected
template<class T >
void sc_core::vcd_trace_file::traceT ( const T &  object,
const std::string &  name,
vcd_enum  type = VCD_WIRE 
)
inlineprotected

Definition at line 171 of file sc_vcd_trace.h.

void sc_core::vcd_trace_file::write_comment ( const std::string &  comment)
protectedvirtual

Member Data Documentation

std::vector<vcd_trace*> sc_core::vcd_trace_file::traces

Definition at line 216 of file sc_vcd_trace.h.


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