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