sc_prim.cc revision 12837
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/core/sc_prim.hh" 32 33namespace sc_core 34{ 35 36const char * 37sc_prim_channel::kind() const 38{ 39 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 40 return ""; 41} 42 43sc_prim_channel::sc_prim_channel() 44{ 45 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 46} 47 48sc_prim_channel::sc_prim_channel(const char *) 49{ 50 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 51} 52 53void 54sc_prim_channel::request_update() 55{ 56 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 57} 58 59void 60sc_prim_channel::async_request_update() 61{ 62 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 63} 64 65void 66sc_prim_channel::next_trigger() 67{ 68 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 69} 70 71void 72sc_prim_channel::next_trigger(const sc_event &) 73{ 74 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 75} 76 77void 78sc_prim_channel::next_trigger(const sc_event_or_list &) 79{ 80 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 81} 82 83void 84sc_prim_channel::next_trigger(const sc_event_and_list &) 85{ 86 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 87} 88 89void 90sc_prim_channel::next_trigger(const sc_time &) 91{ 92 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 93} 94 95void 96sc_prim_channel::next_trigger(double, sc_time_unit) 97{ 98 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 99} 100 101void 102sc_prim_channel::next_trigger(const sc_time &, const sc_event &) 103{ 104 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 105} 106 107void 108sc_prim_channel::next_trigger(double, sc_time_unit, const sc_event &) 109{ 110 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 111} 112 113void 114sc_prim_channel::next_trigger(const sc_time &, const sc_event_or_list &) 115{ 116 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 117} 118 119void 120sc_prim_channel::next_trigger(double, sc_time_unit, const sc_event_or_list &) 121{ 122 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 123} 124 125void 126sc_prim_channel::next_trigger(const sc_time &, const sc_event_and_list &) 127{ 128 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 129} 130 131void 132sc_prim_channel::next_trigger(double, sc_time_unit, const sc_event_and_list &) 133{ 134 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 135} 136 137void 138sc_prim_channel::wait() 139{ 140 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 141} 142 143void 144sc_prim_channel::wait(int) 145{ 146 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 147} 148 149void 150sc_prim_channel::wait(const sc_event &) 151{ 152 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 153} 154 155void 156sc_prim_channel::wait(const sc_event_or_list &) 157{ 158 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 159} 160 161void 162sc_prim_channel::wait(const sc_event_and_list &) 163{ 164 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 165} 166 167void 168sc_prim_channel::wait(const sc_time &) 169{ 170 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 171} 172 173void 174sc_prim_channel::wait(double, sc_time_unit) 175{ 176 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 177} 178 179void 180sc_prim_channel::wait(const sc_time &, const sc_event &) 181{ 182 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 183} 184 185void 186sc_prim_channel::wait(double, sc_time_unit, const sc_event &) 187{ 188 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 189} 190 191void 192sc_prim_channel::wait(const sc_time &, const sc_event_or_list &) 193{ 194 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 195} 196 197void 198sc_prim_channel::wait(double, sc_time_unit, const sc_event_or_list &) 199{ 200 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 201} 202 203void 204sc_prim_channel::wait(const sc_time &, const sc_event_and_list &) 205{ 206 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 207} 208 209void 210sc_prim_channel::wait(double, sc_time_unit, const sc_event_and_list &) 211{ 212 warn("%s not implemented.\n", __PRETTY_FUNCTION__); 213} 214 215} // namespace sc_core 216