sc_trace_file.hh (12852:300397457d0b) sc_trace_file.hh (12877:27fdc86138ef)
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 93 unchanged lines hidden (view full) ---

102 const std::string &);
103void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum &, const std::string &);
104void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum *, const std::string &);
105void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast &,
106 const std::string &);
107void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast *,
108 const std::string &);
109
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 93 unchanged lines hidden (view full) ---

102 const std::string &);
103void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum &, const std::string &);
104void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum *, const std::string &);
105void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast &,
106 const std::string &);
107void sc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast *,
108 const std::string &);
109
110
111// Nonstandard - unsigned versions necessary to avoid ambiguous overload
112// resolution.
113void sc_trace(sc_trace_file *, const unsigned char &,
114 const std::string &, int width=(8 * sizeof(char)));
115void sc_trace(sc_trace_file *, const unsigned char *,
116 const std::string &, int width=(8 * sizeof(char)));
117void sc_trace(sc_trace_file *, const unsigned short &,
118 const std::string &, int width=(8 * sizeof(char)));
119void sc_trace(sc_trace_file *, const unsigned short *,
120 const std::string &, int width=(8 * sizeof(char)));
121void sc_trace(sc_trace_file *, const unsigned int &,
122 const std::string &, int width=(8 * sizeof(char)));
123void sc_trace(sc_trace_file *, const unsigned int *,
124 const std::string &, int width=(8 * sizeof(char)));
125void sc_trace(sc_trace_file *, const unsigned long &,
126 const std::string &, int width=(8 * sizeof(char)));
127void sc_trace(sc_trace_file *, const unsigned long *,
128 const std::string &, int width=(8 * sizeof(char)));
129
110void sc_trace(sc_trace_file *, const char &,
111 const std::string &, int width=(8 * sizeof(char)));
112void sc_trace(sc_trace_file *, const char *,
113 const std::string &, int width=(8 * sizeof(char)));
114void sc_trace(sc_trace_file *, const short &,
115 const std::string &, int width=(8 * sizeof(char)));
116void sc_trace(sc_trace_file *, const short *,
117 const std::string &, int width=(8 * sizeof(char)));

--- 9 unchanged lines hidden (view full) ---

127 const std::string &, int width=(8 * sizeof(char)));
128void sc_trace(sc_trace_file *, const sc_dt::int64 *,
129 const std::string &, int width=(8 * sizeof(char)));
130void sc_trace(sc_trace_file *, const sc_dt::uint64 &,
131 const std::string &, int width=(8 * sizeof(char)));
132void sc_trace(sc_trace_file *, const sc_dt::uint64 *,
133 const std::string &, int width=(8 * sizeof(char)));
134
130void sc_trace(sc_trace_file *, const char &,
131 const std::string &, int width=(8 * sizeof(char)));
132void sc_trace(sc_trace_file *, const char *,
133 const std::string &, int width=(8 * sizeof(char)));
134void sc_trace(sc_trace_file *, const short &,
135 const std::string &, int width=(8 * sizeof(char)));
136void sc_trace(sc_trace_file *, const short *,
137 const std::string &, int width=(8 * sizeof(char)));

--- 9 unchanged lines hidden (view full) ---

147 const std::string &, int width=(8 * sizeof(char)));
148void sc_trace(sc_trace_file *, const sc_dt::int64 *,
149 const std::string &, int width=(8 * sizeof(char)));
150void sc_trace(sc_trace_file *, const sc_dt::uint64 &,
151 const std::string &, int width=(8 * sizeof(char)));
152void sc_trace(sc_trace_file *, const sc_dt::uint64 *,
153 const std::string &, int width=(8 * sizeof(char)));
154
155// Nonstandard function for enums
156void sc_trace(sc_trace_file *, const unsigned int &,
157 const std::string &, const char **enum_literals);
158
135template <class T>
136void
137sc_trace(sc_trace_file *, const sc_signal_in_if<T> &, const std::string &)
138{
139 sc_utils_warn_unimpl(__PRETTY_FUNCTION__);
140}
141
142void sc_trace(sc_trace_file *, const sc_signal_in_if<char> &,

--- 14 unchanged lines hidden ---
159template <class T>
160void
161sc_trace(sc_trace_file *, const sc_signal_in_if<T> &, const std::string &)
162{
163 sc_utils_warn_unimpl(__PRETTY_FUNCTION__);
164}
165
166void sc_trace(sc_trace_file *, const sc_signal_in_if<char> &,

--- 14 unchanged lines hidden ---