sc_trace_file.cc revision 12852
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
9 * notice, this list of conditions and the following disclaimer in the
10 * documentation and/or other materials provided with the distribution;
11 * neither the name of the copyright holders nor the names of its
12 * contributors may be used to endorse or promote products derived from
13 * this software without specific prior written permission.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
19 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#include "base/logging.hh"
31#include "systemc/ext/utils/sc_trace_file.hh"
32
33namespace sc_core
34{
35
36sc_trace_file *
37sc_create_vcd_trace_file(const char *name)
38{
39    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
40    return nullptr;
41}
42
43void
44sc_close_vcd_trace_file(sc_trace_file *tf)
45{
46    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
47}
48
49void
50sc_write_comment(sc_trace_file *tf, const std::string &comment)
51{
52    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
53}
54
55void
56sc_trace(sc_trace_file *, const bool &, const std::string &)
57{
58    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
59}
60
61void
62sc_trace(sc_trace_file *, const bool *, const std::string &)
63{
64    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
65}
66
67void
68sc_trace(sc_trace_file *, const float &, const std::string &)
69{
70    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
71}
72
73void
74sc_trace(sc_trace_file *, const float *, const std::string &)
75{
76    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
77}
78
79void
80sc_trace(sc_trace_file *, const double &, const std::string &)
81{
82    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
83}
84
85void
86sc_trace(sc_trace_file *, const double *, const std::string &)
87{
88    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
89}
90
91void
92sc_trace(sc_trace_file *, const sc_dt::sc_logic &, const std::string &)
93{
94    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
95}
96
97void
98sc_trace(sc_trace_file *, const sc_dt::sc_logic *, const std::string &)
99{
100    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
101}
102
103void
104sc_trace(sc_trace_file *, const sc_dt::sc_int_base &, const std::string &)
105{
106    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
107}
108
109void
110sc_trace(sc_trace_file *, const sc_dt::sc_int_base *, const std::string &)
111{
112    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
113}
114
115void
116sc_trace(sc_trace_file *, const sc_dt::sc_uint_base &, const std::string &)
117{
118    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
119}
120
121void
122sc_trace(sc_trace_file *, const sc_dt::sc_uint_base *, const std::string &)
123{
124    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
125}
126
127void
128sc_trace(sc_trace_file *, const sc_dt::sc_signed &, const std::string &)
129{
130    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
131}
132
133void
134sc_trace(sc_trace_file *, const sc_dt::sc_signed *, const std::string &)
135{
136    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
137}
138
139void
140sc_trace(sc_trace_file *, const sc_dt::sc_unsigned &, const std::string &)
141{
142    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
143}
144
145void
146sc_trace(sc_trace_file *, const sc_dt::sc_unsigned *, const std::string &)
147{
148    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
149}
150
151void
152sc_trace(sc_trace_file *, const sc_dt::sc_bv_base &, const std::string &)
153{
154    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
155}
156
157void
158sc_trace(sc_trace_file *, const sc_dt::sc_bv_base *, const std::string &)
159{
160    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
161}
162
163void
164sc_trace(sc_trace_file *, const sc_dt::sc_lv_base &, const std::string &)
165{
166    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
167}
168
169void
170sc_trace(sc_trace_file *, const sc_dt::sc_lv_base *, const std::string &)
171{
172    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
173}
174
175void
176sc_trace(sc_trace_file *, const sc_dt::sc_fxval &, const std::string &)
177{
178    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
179}
180
181void
182sc_trace(sc_trace_file *, const sc_dt::sc_fxval *, const std::string &)
183{
184    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
185}
186
187void
188sc_trace(sc_trace_file *, const sc_dt::sc_fxval_fast &, const std::string &)
189{
190    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
191}
192
193void
194sc_trace(sc_trace_file *, const sc_dt::sc_fxval_fast *, const std::string &)
195{
196    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
197}
198
199void
200sc_trace(sc_trace_file *, const sc_dt::sc_fxnum &, const std::string &)
201{
202    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
203}
204
205void
206sc_trace(sc_trace_file *, const sc_dt::sc_fxnum *, const std::string &)
207{
208    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
209}
210
211void
212sc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast &, const std::string &)
213{
214    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
215}
216
217void
218sc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast *, const std::string &)
219{
220    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
221}
222
223void
224sc_trace(sc_trace_file *, const char &, const std::string &, int width)
225{
226    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
227}
228
229void
230sc_trace(sc_trace_file *, const char *, const std::string &, int width)
231{
232    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
233}
234
235void
236sc_trace(sc_trace_file *, const short &, const std::string &, int width)
237{
238    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
239}
240
241void
242sc_trace(sc_trace_file *, const short *, const std::string &, int width)
243{
244    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
245}
246
247void
248sc_trace(sc_trace_file *, const int &, const std::string &, int width)
249{
250    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
251}
252
253void
254sc_trace(sc_trace_file *, const int *, const std::string &, int width)
255{
256    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
257}
258
259void
260sc_trace(sc_trace_file *, const long &, const std::string &, int width)
261{
262    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
263}
264
265void
266sc_trace(sc_trace_file *, const long *, const std::string &, int width)
267{
268    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
269}
270
271void
272sc_trace(sc_trace_file *, const sc_dt::int64 &, const std::string &, int width)
273{
274    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
275}
276
277void
278sc_trace(sc_trace_file *, const sc_dt::int64 *, const std::string &, int width)
279{
280    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
281}
282
283void
284sc_trace(sc_trace_file *, const sc_dt::uint64 &,
285         const std::string &, int width)
286{
287    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
288}
289
290void
291sc_trace(sc_trace_file *, const sc_dt::uint64 *,
292         const std::string &, int width)
293{
294    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
295}
296
297void
298sc_trace(sc_trace_file *, const sc_signal_in_if<char> &,
299         const std::string &, int width)
300{
301    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
302}
303
304void
305sc_trace(sc_trace_file *, const sc_signal_in_if<short> &,
306         const std::string &, int width)
307{
308    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
309}
310
311void
312sc_trace(sc_trace_file *, const sc_signal_in_if<int> &,
313         const std::string &, int width)
314{
315    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
316}
317
318void
319sc_trace(sc_trace_file *, const sc_signal_in_if<long> &,
320         const std::string &, int width)
321{
322    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
323}
324
325} // namespace sc_core
326