sc_trace_file.cc revision 12905
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 sc_event &, const std::string &) 225{ 226 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 227} 228 229void 230sc_trace(sc_trace_file *, const sc_event *, const std::string &) 231{ 232 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 233} 234 235void 236sc_trace(sc_trace_file *, const sc_time &, const std::string &) 237{ 238 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 239} 240 241void 242sc_trace(sc_trace_file *, const sc_time *, const std::string &) 243{ 244 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 245} 246 247void 248sc_trace(sc_trace_file *, const unsigned char &, 249 const std::string &, int width) 250{ 251 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 252} 253 254void 255sc_trace(sc_trace_file *, const unsigned char *, 256 const std::string &, int width) 257{ 258 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 259} 260 261void 262sc_trace(sc_trace_file *, const unsigned short &, 263 const std::string &, int width) 264{ 265 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 266} 267 268void 269sc_trace(sc_trace_file *, const unsigned short *, 270 const std::string &, int width) 271{ 272 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 273} 274 275void 276sc_trace(sc_trace_file *, const unsigned int &, const std::string &, int width) 277{ 278 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 279} 280 281void 282sc_trace(sc_trace_file *, const unsigned int *, const std::string &, int width) 283{ 284 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 285} 286 287void 288sc_trace(sc_trace_file *, const unsigned long &, 289 const std::string &, int width) 290{ 291 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 292} 293 294void 295sc_trace(sc_trace_file *, const unsigned long *, 296 const std::string &, int width) 297{ 298 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 299} 300 301void 302sc_trace(sc_trace_file *, const char &, const std::string &, int width) 303{ 304 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 305} 306 307void 308sc_trace(sc_trace_file *, const char *, const std::string &, int width) 309{ 310 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 311} 312 313void 314sc_trace(sc_trace_file *, const short &, const std::string &, int width) 315{ 316 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 317} 318 319void 320sc_trace(sc_trace_file *, const short *, const std::string &, int width) 321{ 322 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 323} 324 325void 326sc_trace(sc_trace_file *, const int &, const std::string &, int width) 327{ 328 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 329} 330 331void 332sc_trace(sc_trace_file *, const int *, const std::string &, int width) 333{ 334 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 335} 336 337void 338sc_trace(sc_trace_file *, const long &, const std::string &, int width) 339{ 340 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 341} 342 343void 344sc_trace(sc_trace_file *, const long *, const std::string &, int width) 345{ 346 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 347} 348 349void 350sc_trace(sc_trace_file *, const sc_dt::int64 &, const std::string &, int width) 351{ 352 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 353} 354 355void 356sc_trace(sc_trace_file *, const sc_dt::int64 *, const std::string &, int width) 357{ 358 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 359} 360 361void 362sc_trace(sc_trace_file *, const sc_dt::uint64 &, 363 const std::string &, int width) 364{ 365 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 366} 367 368void 369sc_trace(sc_trace_file *, const sc_dt::uint64 *, 370 const std::string &, int width) 371{ 372 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 373} 374 375void 376sc_trace(sc_trace_file *, const sc_signal_in_if<char> &, 377 const std::string &, int width) 378{ 379 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 380} 381 382void 383sc_trace(sc_trace_file *, const sc_signal_in_if<short> &, 384 const std::string &, int width) 385{ 386 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 387} 388 389void 390sc_trace(sc_trace_file *, const sc_signal_in_if<int> &, 391 const std::string &, int width) 392{ 393 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 394} 395 396void 397sc_trace(sc_trace_file *, const sc_signal_in_if<long> &, 398 const std::string &, int width) 399{ 400 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 401} 402 403void 404sc_trace(sc_trace_file *, const unsigned int &, 405 const std::string &, const char **enum_literals) 406{ 407 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 408} 409 410} // namespace sc_core 411