sc_simcontext.cc revision 12940:f191f383f3bf
13549SN/A/* 23549SN/A * Copyright 2018 Google, Inc. 33549SN/A * 43549SN/A * Redistribution and use in source and binary forms, with or without 53549SN/A * modification, are permitted provided that the following conditions are 63549SN/A * met: redistributions of source code must retain the above copyright 73549SN/A * notice, this list of conditions and the following disclaimer; 83549SN/A * redistributions in binary form must reproduce the above copyright 93549SN/A * notice, this list of conditions and the following disclaimer in the 103549SN/A * documentation and/or other materials provided with the distribution; 113549SN/A * neither the name of the copyright holders nor the names of its 123549SN/A * contributors may be used to endorse or promote products derived from 133549SN/A * this software without specific prior written permission. 143549SN/A * 153549SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 163549SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 173549SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 183549SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 193549SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 203549SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 213549SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 223549SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 233549SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 243549SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 253549SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 263549SN/A * 273549SN/A * Authors: Gabe Black 283549SN/A */ 293549SN/A 303549SN/A#include "base/logging.hh" 313549SN/A#include "systemc/ext/core/sc_simcontext.hh" 323565Sgblack@eecs.umich.edu 333565Sgblack@eecs.umich.edunamespace sc_core 343549SN/A{ 353549SN/A 363549SN/Asc_dt::uint64 373549SN/Asc_simcontext::delta_count() const 383549SN/A{ 393549SN/A warn("%s not implemented.\n", __PRETTY_FUNCTION__); 403549SN/A return 0; 413549SN/A} 423549SN/A 433549SN/Avoid 443549SN/Asc_simcontext::reset() 453549SN/A{ 46 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 47} 48 49sc_curr_proc_handle 50sc_simcontext::get_curr_proc_info() 51{ 52 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 53 return nullptr; 54} 55 56sc_simcontext * 57sc_get_curr_simcontext() 58{ 59 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 60 return nullptr; 61} 62 63} // namespace sc_core 64