sc_core::vcd_trace_file Class Reference

#include <sc_vcd_trace.h>

Inheritance diagram for sc_core::vcd_trace_file:

sc_core::sc_trace_file 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 ()

Public Attributes

sc_pvector< vcd_trace * > traces
bool initialized

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)

Private Member Functions

void initialize ()
void create_vcd_name (std::string *p_destination)

Private Attributes

FILE * fp
double timescale_unit
bool timescale_set_by_user
bool trace_delta_cycles
unsigned vcd_name_index
unsigned previous_time_units_low
unsigned previous_time_units_high

Member Enumeration Documentation

enum sc_core::vcd_trace_file::vcd_enum

Enumerator:
VCD_WIRE 
VCD_REAL 
VCD_LAST 


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::sc_set_vcd_time_unit ( int  exponent10_seconds  ) 

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

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

Implements sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

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

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

Implements sc_core::sc_trace_file.

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

Reimplemented from sc_core::sc_trace_file.

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

Implements sc_core::sc_trace_file.

void sc_core::vcd_trace_file::initialize (  )  [private]

void sc_core::vcd_trace_file::create_vcd_name ( std::string *  p_destination  )  [private]

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


Member Data Documentation

FILE* sc_core::vcd_trace_file::fp [private]

double sc_core::vcd_trace_file::timescale_unit [private]

bool sc_core::vcd_trace_file::timescale_set_by_user [private]

bool sc_core::vcd_trace_file::trace_delta_cycles [private]

unsigned sc_core::vcd_trace_file::vcd_name_index [private]

unsigned sc_core::vcd_trace_file::previous_time_units_low [private]

unsigned sc_core::vcd_trace_file::previous_time_units_high [private]

sc_pvector<vcd_trace*> sc_core::vcd_trace_file::traces

bool sc_core::vcd_trace_file::initialized


The documentation for this class was generated from the following files:
Generated by
Matthieu Moy <Matthieu.Moy@st.com>
Back to Pinapa Home Page