sc_simcontext.cc revision 12940:f191f383f3bf
12381SN/A/* 22592SN/A * Copyright 2018 Google, Inc. 32381SN/A * 42381SN/A * Redistribution and use in source and binary forms, with or without 52381SN/A * modification, are permitted provided that the following conditions are 62381SN/A * met: redistributions of source code must retain the above copyright 72381SN/A * notice, this list of conditions and the following disclaimer; 82381SN/A * redistributions in binary form must reproduce the above copyright 92381SN/A * notice, this list of conditions and the following disclaimer in the 102381SN/A * documentation and/or other materials provided with the distribution; 112381SN/A * neither the name of the copyright holders nor the names of its 122381SN/A * contributors may be used to endorse or promote products derived from 132381SN/A * this software without specific prior written permission. 142381SN/A * 152381SN/A * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 162381SN/A * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 172381SN/A * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 182381SN/A * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 192381SN/A * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 202381SN/A * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 212381SN/A * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 222381SN/A * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 232381SN/A * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 242381SN/A * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 252381SN/A * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 262381SN/A * 272665Ssaidi@eecs.umich.edu * Authors: Gabe Black 282665Ssaidi@eecs.umich.edu */ 292665Ssaidi@eecs.umich.edu 302665Ssaidi@eecs.umich.edu#include "base/logging.hh" 312381SN/A#include "systemc/ext/core/sc_simcontext.hh" 322381SN/A 332381SN/Anamespace sc_core 342381SN/A{ 352662Sstever@eecs.umich.edu 362381SN/Asc_dt::uint64 372381SN/Asc_simcontext::delta_count() const 382381SN/A{ 392381SN/A warn("%s not implemented.\n", __PRETTY_FUNCTION__); 402381SN/A return 0; 412392SN/A} 422423SN/A 432394SN/Avoid 442394SN/Asc_simcontext::reset() 452394SN/A{ 462394SN/A warn("%s not implemented.\n", __PRETTY_FUNCTION__); 472394SN/A} 482382SN/A 492381SN/Asc_curr_proc_handle 502662Sstever@eecs.umich.edusc_simcontext::get_curr_proc_info() 512662Sstever@eecs.umich.edu{ 522662Sstever@eecs.umich.edu warn("%s not implemented.\n", __PRETTY_FUNCTION__); 532662Sstever@eecs.umich.edu return nullptr; 542662Sstever@eecs.umich.edu} 552381SN/A 562641Sstever@eecs.umich.edusc_simcontext * 572381SN/Asc_get_curr_simcontext() 582566SN/A{ 592662Sstever@eecs.umich.edu warn("%s not implemented.\n", __PRETTY_FUNCTION__); 602662Sstever@eecs.umich.edu return nullptr; 612662Sstever@eecs.umich.edu} 622662Sstever@eecs.umich.edu 632662Sstever@eecs.umich.edu} // namespace sc_core 642566SN/A