47 #ifndef SC_VCD_TRACE_H
48 #define SC_VCD_TRACE_H
73 inline void sc_set_vcd_time_unit(
int exponent10_seconds)
90 void trace(
const bool&
object,
const std::string& name);
94 const std::string& name);
100 void trace(
const unsigned char&
object,
const std::string& name,
104 void trace(
const unsigned short&
object,
const std::string& name,
108 void trace(
const unsigned int&
object,
const std::string& name,
112 void trace(
const unsigned long&
object,
const std::string& name,
116 void trace(
const char&
object,
const std::string& name,
int width);
119 void trace(
const short&
object,
const std::string& name,
int width);
122 void trace(
const int&
object,
const std::string& name,
int width);
125 void trace(
const long&
object,
const std::string& name,
int width);
136 void trace(
const float&
object,
const std::string& name);
139 void trace(
const double&
object,
const std::string& name);
143 const std::string& name);
147 const std::string& name);
151 const std::string& name);
161 const std::string& name );
168 const std::string& name );
171 void traceT(
const T&
object,
const std::string& name,
181 const std::string& name);
185 const std::string& name);
189 void trace(
const unsigned&
object,
const std::string& name,
190 const char** enum_literals);
196 void cycle(
bool delta_cycle);
200 #if SC_TRACING_PHASE_CALLBACKS_
203 #endif // SC_TRACING_PHASE_CALLBACKS_
206 virtual void do_initialize();
208 unsigned vcd_name_index;
210 unsigned previous_time_units_low;
211 unsigned previous_time_units_high;
225 #endif // SC_VCD_TRACE_H
vcd_trace_file(const char *name)
void traceT(const T &object, const std::string &name, vcd_enum type=VCD_WIRE)
void trace(const bool &object, const std::string &name)
virtual void set_time_unit(double v, sc_time_unit tu)
std::string obtain_name()
void write_comment(const std::string &comment)
std::vector< vcd_trace * > traces
bool add_trace_check(const std::string &name) const
void cycle(bool delta_cycle)