sc_prim.cc revision 12929
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
137bool
138sc_prim_channel::timed_out()
139{
140    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
141    return false;
142}
143
144void
145sc_prim_channel::wait()
146{
147    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
148}
149
150void
151sc_prim_channel::wait(int)
152{
153    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
154}
155
156void
157sc_prim_channel::wait(const sc_event &)
158{
159    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
160}
161
162void
163sc_prim_channel::wait(const sc_event_or_list &)
164{
165    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
166}
167
168void
169sc_prim_channel::wait(const sc_event_and_list &)
170{
171    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
172}
173
174void
175sc_prim_channel::wait(const sc_time &)
176{
177    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
178}
179
180void
181sc_prim_channel::wait(double, sc_time_unit)
182{
183    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
184}
185
186void
187sc_prim_channel::wait(const sc_time &, const sc_event &)
188{
189    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
190}
191
192void
193sc_prim_channel::wait(double, sc_time_unit, const sc_event &)
194{
195    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
196}
197
198void
199sc_prim_channel::wait(const sc_time &, const sc_event_or_list &)
200{
201    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
202}
203
204void
205sc_prim_channel::wait(double, sc_time_unit, const sc_event_or_list &)
206{
207    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
208}
209
210void
211sc_prim_channel::wait(const sc_time &, const sc_event_and_list &)
212{
213    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
214}
215
216void
217sc_prim_channel::wait(double, sc_time_unit, const sc_event_and_list &)
218{
219    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
220}
221
222} // namespace sc_core
223