sc_trace_file.cc revision 12852
112852Sgabeblack@google.com/* 212852Sgabeblack@google.com * Copyright 2018 Google, Inc. 312852Sgabeblack@google.com * 412852Sgabeblack@google.com * Redistribution and use in source and binary forms, with or without 512852Sgabeblack@google.com * modification, are permitted provided that the following conditions are 612852Sgabeblack@google.com * met: redistributions of source code must retain the above copyright 712852Sgabeblack@google.com * notice, this list of conditions and the following disclaimer; 812852Sgabeblack@google.com * redistributions in binary form must reproduce the above copyright 912852Sgabeblack@google.com * notice, this list of conditions and the following disclaimer in the 1012852Sgabeblack@google.com * documentation and/or other materials provided with the distribution; 1112852Sgabeblack@google.com * neither the name of the copyright holders nor the names of its 1212852Sgabeblack@google.com * contributors may be used to endorse or promote products derived from 1312852Sgabeblack@google.com * this software without specific prior written permission. 1412852Sgabeblack@google.com * 1512852Sgabeblack@google.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 1612852Sgabeblack@google.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 1712852Sgabeblack@google.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 1812852Sgabeblack@google.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 1912852Sgabeblack@google.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 2012852Sgabeblack@google.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 2112852Sgabeblack@google.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2212852Sgabeblack@google.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2312852Sgabeblack@google.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2412852Sgabeblack@google.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 2512852Sgabeblack@google.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2612852Sgabeblack@google.com * 2712852Sgabeblack@google.com * Authors: Gabe Black 2812852Sgabeblack@google.com */ 2912852Sgabeblack@google.com 3012852Sgabeblack@google.com#include "base/logging.hh" 3112852Sgabeblack@google.com#include "systemc/ext/utils/sc_trace_file.hh" 3212852Sgabeblack@google.com 3312852Sgabeblack@google.comnamespace sc_core 3412852Sgabeblack@google.com{ 3512852Sgabeblack@google.com 3612852Sgabeblack@google.comsc_trace_file * 3712852Sgabeblack@google.comsc_create_vcd_trace_file(const char *name) 3812852Sgabeblack@google.com{ 3912852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 4012852Sgabeblack@google.com return nullptr; 4112852Sgabeblack@google.com} 4212852Sgabeblack@google.com 4312852Sgabeblack@google.comvoid 4412852Sgabeblack@google.comsc_close_vcd_trace_file(sc_trace_file *tf) 4512852Sgabeblack@google.com{ 4612852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 4712852Sgabeblack@google.com} 4812852Sgabeblack@google.com 4912852Sgabeblack@google.comvoid 5012852Sgabeblack@google.comsc_write_comment(sc_trace_file *tf, const std::string &comment) 5112852Sgabeblack@google.com{ 5212852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 5312852Sgabeblack@google.com} 5412852Sgabeblack@google.com 5512852Sgabeblack@google.comvoid 5612852Sgabeblack@google.comsc_trace(sc_trace_file *, const bool &, const std::string &) 5712852Sgabeblack@google.com{ 5812852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 5912852Sgabeblack@google.com} 6012852Sgabeblack@google.com 6112852Sgabeblack@google.comvoid 6212852Sgabeblack@google.comsc_trace(sc_trace_file *, const bool *, const std::string &) 6312852Sgabeblack@google.com{ 6412852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 6512852Sgabeblack@google.com} 6612852Sgabeblack@google.com 6712852Sgabeblack@google.comvoid 6812852Sgabeblack@google.comsc_trace(sc_trace_file *, const float &, const std::string &) 6912852Sgabeblack@google.com{ 7012852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 7112852Sgabeblack@google.com} 7212852Sgabeblack@google.com 7312852Sgabeblack@google.comvoid 7412852Sgabeblack@google.comsc_trace(sc_trace_file *, const float *, const std::string &) 7512852Sgabeblack@google.com{ 7612852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 7712852Sgabeblack@google.com} 7812852Sgabeblack@google.com 7912852Sgabeblack@google.comvoid 8012852Sgabeblack@google.comsc_trace(sc_trace_file *, const double &, const std::string &) 8112852Sgabeblack@google.com{ 8212852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 8312852Sgabeblack@google.com} 8412852Sgabeblack@google.com 8512852Sgabeblack@google.comvoid 8612852Sgabeblack@google.comsc_trace(sc_trace_file *, const double *, const std::string &) 8712852Sgabeblack@google.com{ 8812852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 8912852Sgabeblack@google.com} 9012852Sgabeblack@google.com 9112852Sgabeblack@google.comvoid 9212852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_logic &, const std::string &) 9312852Sgabeblack@google.com{ 9412852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 9512852Sgabeblack@google.com} 9612852Sgabeblack@google.com 9712852Sgabeblack@google.comvoid 9812852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_logic *, const std::string &) 9912852Sgabeblack@google.com{ 10012852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 10112852Sgabeblack@google.com} 10212852Sgabeblack@google.com 10312852Sgabeblack@google.comvoid 10412852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_int_base &, const std::string &) 10512852Sgabeblack@google.com{ 10612852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 10712852Sgabeblack@google.com} 10812852Sgabeblack@google.com 10912852Sgabeblack@google.comvoid 11012852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_int_base *, const std::string &) 11112852Sgabeblack@google.com{ 11212852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 11312852Sgabeblack@google.com} 11412852Sgabeblack@google.com 11512852Sgabeblack@google.comvoid 11612852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_uint_base &, const std::string &) 11712852Sgabeblack@google.com{ 11812852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 11912852Sgabeblack@google.com} 12012852Sgabeblack@google.com 12112852Sgabeblack@google.comvoid 12212852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_uint_base *, const std::string &) 12312852Sgabeblack@google.com{ 12412852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 12512852Sgabeblack@google.com} 12612852Sgabeblack@google.com 12712852Sgabeblack@google.comvoid 12812852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_signed &, const std::string &) 12912852Sgabeblack@google.com{ 13012852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 13112852Sgabeblack@google.com} 13212852Sgabeblack@google.com 13312852Sgabeblack@google.comvoid 13412852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_signed *, const std::string &) 13512852Sgabeblack@google.com{ 13612852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 13712852Sgabeblack@google.com} 13812852Sgabeblack@google.com 13912852Sgabeblack@google.comvoid 14012852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_unsigned &, const std::string &) 14112852Sgabeblack@google.com{ 14212852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 14312852Sgabeblack@google.com} 14412852Sgabeblack@google.com 14512852Sgabeblack@google.comvoid 14612852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_unsigned *, const std::string &) 14712852Sgabeblack@google.com{ 14812852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 14912852Sgabeblack@google.com} 15012852Sgabeblack@google.com 15112852Sgabeblack@google.comvoid 15212852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_bv_base &, const std::string &) 15312852Sgabeblack@google.com{ 15412852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 15512852Sgabeblack@google.com} 15612852Sgabeblack@google.com 15712852Sgabeblack@google.comvoid 15812852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_bv_base *, const std::string &) 15912852Sgabeblack@google.com{ 16012852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 16112852Sgabeblack@google.com} 16212852Sgabeblack@google.com 16312852Sgabeblack@google.comvoid 16412852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_lv_base &, const std::string &) 16512852Sgabeblack@google.com{ 16612852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 16712852Sgabeblack@google.com} 16812852Sgabeblack@google.com 16912852Sgabeblack@google.comvoid 17012852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_lv_base *, const std::string &) 17112852Sgabeblack@google.com{ 17212852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 17312852Sgabeblack@google.com} 17412852Sgabeblack@google.com 17512852Sgabeblack@google.comvoid 17612852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_fxval &, const std::string &) 17712852Sgabeblack@google.com{ 17812852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 17912852Sgabeblack@google.com} 18012852Sgabeblack@google.com 18112852Sgabeblack@google.comvoid 18212852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_fxval *, const std::string &) 18312852Sgabeblack@google.com{ 18412852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 18512852Sgabeblack@google.com} 18612852Sgabeblack@google.com 18712852Sgabeblack@google.comvoid 18812852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_fxval_fast &, const std::string &) 18912852Sgabeblack@google.com{ 19012852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 19112852Sgabeblack@google.com} 19212852Sgabeblack@google.com 19312852Sgabeblack@google.comvoid 19412852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_fxval_fast *, const std::string &) 19512852Sgabeblack@google.com{ 19612852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 19712852Sgabeblack@google.com} 19812852Sgabeblack@google.com 19912852Sgabeblack@google.comvoid 20012852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_fxnum &, const std::string &) 20112852Sgabeblack@google.com{ 20212852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 20312852Sgabeblack@google.com} 20412852Sgabeblack@google.com 20512852Sgabeblack@google.comvoid 20612852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_fxnum *, const std::string &) 20712852Sgabeblack@google.com{ 20812852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 20912852Sgabeblack@google.com} 21012852Sgabeblack@google.com 21112852Sgabeblack@google.comvoid 21212852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast &, const std::string &) 21312852Sgabeblack@google.com{ 21412852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 21512852Sgabeblack@google.com} 21612852Sgabeblack@google.com 21712852Sgabeblack@google.comvoid 21812852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::sc_fxnum_fast *, const std::string &) 21912852Sgabeblack@google.com{ 22012852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 22112852Sgabeblack@google.com} 22212852Sgabeblack@google.com 22312852Sgabeblack@google.comvoid 22412852Sgabeblack@google.comsc_trace(sc_trace_file *, const char &, const std::string &, int width) 22512852Sgabeblack@google.com{ 22612852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 22712852Sgabeblack@google.com} 22812852Sgabeblack@google.com 22912852Sgabeblack@google.comvoid 23012852Sgabeblack@google.comsc_trace(sc_trace_file *, const char *, const std::string &, int width) 23112852Sgabeblack@google.com{ 23212852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 23312852Sgabeblack@google.com} 23412852Sgabeblack@google.com 23512852Sgabeblack@google.comvoid 23612852Sgabeblack@google.comsc_trace(sc_trace_file *, const short &, const std::string &, int width) 23712852Sgabeblack@google.com{ 23812852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 23912852Sgabeblack@google.com} 24012852Sgabeblack@google.com 24112852Sgabeblack@google.comvoid 24212852Sgabeblack@google.comsc_trace(sc_trace_file *, const short *, const std::string &, int width) 24312852Sgabeblack@google.com{ 24412852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 24512852Sgabeblack@google.com} 24612852Sgabeblack@google.com 24712852Sgabeblack@google.comvoid 24812852Sgabeblack@google.comsc_trace(sc_trace_file *, const int &, const std::string &, int width) 24912852Sgabeblack@google.com{ 25012852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 25112852Sgabeblack@google.com} 25212852Sgabeblack@google.com 25312852Sgabeblack@google.comvoid 25412852Sgabeblack@google.comsc_trace(sc_trace_file *, const int *, const std::string &, int width) 25512852Sgabeblack@google.com{ 25612852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 25712852Sgabeblack@google.com} 25812852Sgabeblack@google.com 25912852Sgabeblack@google.comvoid 26012852Sgabeblack@google.comsc_trace(sc_trace_file *, const long &, const std::string &, int width) 26112852Sgabeblack@google.com{ 26212852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 26312852Sgabeblack@google.com} 26412852Sgabeblack@google.com 26512852Sgabeblack@google.comvoid 26612852Sgabeblack@google.comsc_trace(sc_trace_file *, const long *, const std::string &, int width) 26712852Sgabeblack@google.com{ 26812852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 26912852Sgabeblack@google.com} 27012852Sgabeblack@google.com 27112852Sgabeblack@google.comvoid 27212852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::int64 &, const std::string &, int width) 27312852Sgabeblack@google.com{ 27412852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 27512852Sgabeblack@google.com} 27612852Sgabeblack@google.com 27712852Sgabeblack@google.comvoid 27812852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::int64 *, const std::string &, int width) 27912852Sgabeblack@google.com{ 28012852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 28112852Sgabeblack@google.com} 28212852Sgabeblack@google.com 28312852Sgabeblack@google.comvoid 28412852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::uint64 &, 28512852Sgabeblack@google.com const std::string &, int width) 28612852Sgabeblack@google.com{ 28712852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 28812852Sgabeblack@google.com} 28912852Sgabeblack@google.com 29012852Sgabeblack@google.comvoid 29112852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_dt::uint64 *, 29212852Sgabeblack@google.com const std::string &, int width) 29312852Sgabeblack@google.com{ 29412852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 29512852Sgabeblack@google.com} 29612852Sgabeblack@google.com 29712852Sgabeblack@google.comvoid 29812852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_signal_in_if<char> &, 29912852Sgabeblack@google.com const std::string &, int width) 30012852Sgabeblack@google.com{ 30112852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 30212852Sgabeblack@google.com} 30312852Sgabeblack@google.com 30412852Sgabeblack@google.comvoid 30512852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_signal_in_if<short> &, 30612852Sgabeblack@google.com const std::string &, int width) 30712852Sgabeblack@google.com{ 30812852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 30912852Sgabeblack@google.com} 31012852Sgabeblack@google.com 31112852Sgabeblack@google.comvoid 31212852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_signal_in_if<int> &, 31312852Sgabeblack@google.com const std::string &, int width) 31412852Sgabeblack@google.com{ 31512852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 31612852Sgabeblack@google.com} 31712852Sgabeblack@google.com 31812852Sgabeblack@google.comvoid 31912852Sgabeblack@google.comsc_trace(sc_trace_file *, const sc_signal_in_if<long> &, 32012852Sgabeblack@google.com const std::string &, int width) 32112852Sgabeblack@google.com{ 32212852Sgabeblack@google.com warn("%s not implemented.\n", __PRETTY_FUNCTION__); 32312852Sgabeblack@google.com} 32412852Sgabeblack@google.com 32512852Sgabeblack@google.com} // namespace sc_core 326