// Nonstandard - unsigned versions necessary to avoid ambiguous overload
// resolution.
void sc_trace(sc_trace_file *, const unsigned char &,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(unsigned char)));
void sc_trace(sc_trace_file *, const unsigned char *,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(unsigned char)));
void sc_trace(sc_trace_file *, const unsigned short &,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(unsigned short)));
void sc_trace(sc_trace_file *, const unsigned short *,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(unsigned short)));
void sc_trace(sc_trace_file *, const unsigned int &,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(unsigned int)));
void sc_trace(sc_trace_file *, const unsigned int *,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(unsigned int)));
void sc_trace(sc_trace_file *, const unsigned long &,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(unsigned long)));
void sc_trace(sc_trace_file *, const unsigned long *,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(unsigned long)));
void sc_trace(sc_trace_file *, const char &,
const std::string &, int width=(8 * sizeof(char)));
void sc_trace(sc_trace_file *, const char *,
const std::string &, int width=(8 * sizeof(char)));
void sc_trace(sc_trace_file *, const short &,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(short)));
void sc_trace(sc_trace_file *, const short *,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(short)));
void sc_trace(sc_trace_file *, const int &,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(int)));
void sc_trace(sc_trace_file *, const int *,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(int)));
void sc_trace(sc_trace_file *, const long &,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(long)));
void sc_trace(sc_trace_file *, const long *,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(long)));
void sc_trace(sc_trace_file *, const sc_dt::int64 &,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(sc_dt::int64)));
void sc_trace(sc_trace_file *, const sc_dt::int64 *,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(sc_dt::int64)));
void sc_trace(sc_trace_file *, const sc_dt::uint64 &,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(sc_dt::uint64)));
void sc_trace(sc_trace_file *, const sc_dt::uint64 *,
- const std::string &, int width=(8 * sizeof(char)));
+ const std::string &, int width=(8 * sizeof(sc_dt::uint64)));
// Nonstandard function for enums
void sc_trace(sc_trace_file *, const unsigned int &,
template <class T>
void
-sc_trace(sc_trace_file *, const sc_signal_in_if<T> &, const std::string &)
+sc_trace(sc_trace_file *tf, const sc_signal_in_if<T> &iface,
+ const std::string &name)
{
- sc_utils_warn_unimpl(__PRETTY_FUNCTION__);
+ sc_trace(tf, iface.read(), name);
}
void sc_trace(sc_trace_file *, const sc_signal_in_if<char> &,