SystemC
2.3.2
Accellera SystemC proof-of-concept library
|
#include <sysc/tracing/sc_wif_trace.h>
Public Types | |
enum | wif_enum { WIF_BIT =0, WIF_MVL =1, WIF_REAL =2, WIF_LAST } |
typedef sc_time::value_type | unit_type |
Public Member Functions | |
wif_trace_file (const char *name) | |
~wif_trace_file () | |
std::string | obtain_name () |
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) |
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< wif_trace * > | traces |
Protected Member Functions | |
virtual void | trace (const sc_time &object, const std::string &name) |
virtual void | trace (const sc_event &object, const std::string &name) |
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 | cycle (bool delta_cycle) |
bool | initialize () |
void | open_fp () |
bool | add_trace_check (const std::string &name) const |
bool | has_low_units () const |
int | low_units_len () const |
void | timestamp_in_trace_units (unit_type &high, unit_type &low) const |
const sc_dt::uint64 & | event_trigger_stamp (const sc_event &event) const |
Static Protected Member Functions | |
static sc_time::value_type | unit_to_fs (sc_time_unit tu) |
static std::string | fs_unit_to_str (sc_trace_file_base::unit_type tu) |
Protected Attributes | |
FILE * | fp |
unit_type | trace_unit_fs |
unit_type | kernel_unit_fs |
bool | timescale_set_by_user |
Definition at line 71 of file sc_wif_trace.h.
|
inherited |
Definition at line 71 of file sc_trace_file_base.h.
Enumerator | |
---|---|
WIF_BIT | |
WIF_MVL | |
WIF_REAL | |
WIF_LAST |
Definition at line 75 of file sc_wif_trace.h.
|
explicit |
sc_core::wif_trace_file::~wif_trace_file | ( | ) |
|
protectedinherited |
|
protectedvirtual |
Implements sc_core::sc_trace_file.
|
inlineinherited |
Definition at line 76 of file sc_trace_file_base.h.
|
virtualinherited |
Reimplemented from sc_core::sc_trace_file.
|
protectedinherited |
|
inlineinherited |
Definition at line 73 of file sc_trace_file_base.h.
|
staticprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
std::string sc_core::wif_trace_file::obtain_name | ( | ) |
|
protectedinherited |
|
virtualinherited |
Implements sc_core::sc_trace_file.
|
virtualinherited |
|
protectedinherited |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
pure virtualinherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
inlineprotected |
Definition at line 172 of file sc_wif_trace.h.
|
staticprotectedinherited |
|
protectedvirtual |
Implements sc_core::sc_trace_file.
|
protectedinherited |
Definition at line 121 of file sc_trace_file_base.h.
|
protectedinherited |
Definition at line 124 of file sc_trace_file_base.h.
|
protectedinherited |
Definition at line 125 of file sc_trace_file_base.h.
|
protectedinherited |
Definition at line 123 of file sc_trace_file_base.h.
std::vector<wif_trace*> sc_core::wif_trace_file::traces |
Definition at line 219 of file sc_wif_trace.h.