sc_module.cc (12837:413a7b490b1b) sc_module.cc (12901:72bc9ff65802)
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
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 <memory>
31#include <vector>
32
30#include "base/logging.hh"
31#include "systemc/ext/core/sc_module.hh"
32
33namespace sc_core
34{
35
36sc_bind_proxy::sc_bind_proxy(const sc_interface &interface)
37{
38 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
39}
40
41sc_bind_proxy::sc_bind_proxy(const sc_port_base &port)
42{
43 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
44}
45
46const sc_bind_proxy SC_BIND_PROXY_NUL(*(const sc_port_base *)nullptr);
47
48sc_module::~sc_module()
49{
50 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
51}
52
53const char *
54sc_module::kind() const
55{
56 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
57 return "";
58}
59
60const sc_bind_proxy SC_BIND_PROXY_NIL(*(const sc_port_base *)nullptr);
61
62void
63sc_module::operator () (const sc_bind_proxy &p001,
64 const sc_bind_proxy &p002,
65 const sc_bind_proxy &p003,
66 const sc_bind_proxy &p004,
67 const sc_bind_proxy &p005,
68 const sc_bind_proxy &p006,
69 const sc_bind_proxy &p007,
70 const sc_bind_proxy &p008,
71 const sc_bind_proxy &p009,
72 const sc_bind_proxy &p010,
73 const sc_bind_proxy &p011,
74 const sc_bind_proxy &p012,
75 const sc_bind_proxy &p013,
76 const sc_bind_proxy &p014,
77 const sc_bind_proxy &p015,
78 const sc_bind_proxy &p016,
79 const sc_bind_proxy &p017,
80 const sc_bind_proxy &p018,
81 const sc_bind_proxy &p019,
82 const sc_bind_proxy &p020,
83 const sc_bind_proxy &p021,
84 const sc_bind_proxy &p022,
85 const sc_bind_proxy &p023,
86 const sc_bind_proxy &p024,
87 const sc_bind_proxy &p025,
88 const sc_bind_proxy &p026,
89 const sc_bind_proxy &p027,
90 const sc_bind_proxy &p028,
91 const sc_bind_proxy &p029,
92 const sc_bind_proxy &p030,
93 const sc_bind_proxy &p031,
94 const sc_bind_proxy &p032,
95 const sc_bind_proxy &p033,
96 const sc_bind_proxy &p034,
97 const sc_bind_proxy &p035,
98 const sc_bind_proxy &p036,
99 const sc_bind_proxy &p037,
100 const sc_bind_proxy &p038,
101 const sc_bind_proxy &p039,
102 const sc_bind_proxy &p040,
103 const sc_bind_proxy &p041,
104 const sc_bind_proxy &p042,
105 const sc_bind_proxy &p043,
106 const sc_bind_proxy &p044,
107 const sc_bind_proxy &p045,
108 const sc_bind_proxy &p046,
109 const sc_bind_proxy &p047,
110 const sc_bind_proxy &p048,
111 const sc_bind_proxy &p049,
112 const sc_bind_proxy &p050,
113 const sc_bind_proxy &p051,
114 const sc_bind_proxy &p052,
115 const sc_bind_proxy &p053,
116 const sc_bind_proxy &p054,
117 const sc_bind_proxy &p055,
118 const sc_bind_proxy &p056,
119 const sc_bind_proxy &p057,
120 const sc_bind_proxy &p058,
121 const sc_bind_proxy &p059,
122 const sc_bind_proxy &p060,
123 const sc_bind_proxy &p061,
124 const sc_bind_proxy &p062,
125 const sc_bind_proxy &p063,
126 const sc_bind_proxy &p064)
127{
128 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
129}
130
131const std::vector<sc_object *> &
132sc_module::get_child_objects() const
133{
134 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
135 return *(const std::vector<sc_object *> *)nullptr;
136}
137
138const std::vector<sc_event *> &
139sc_module::get_child_events() const
140{
141 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
142 return *(const std::vector<sc_event *> *)nullptr;
143}
144
145sc_module::sc_module(const sc_module_name &)
146{
147 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
148}
149
150sc_module::sc_module()
151{
152 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
153}
154
155void
156sc_module::reset_signal_is(const sc_in<bool> &, bool)
157{
158 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
159}
160
161void
162sc_module::reset_signal_is(const sc_inout<bool> &, bool)
163{
164 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
165}
166
167void
168sc_module::reset_signal_is(const sc_out<bool> &, bool)
169{
170 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
171}
172
173void
174sc_module::reset_signal_is(const sc_signal_in_if<bool> &, bool)
175{
176 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
177}
178
179
180void
181sc_module::async_reset_signal_is(const sc_in<bool> &, bool)
182{
183 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
184}
185
186void
187sc_module::async_reset_signal_is(const sc_inout<bool> &, bool)
188{
189 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
190}
191
192void
193sc_module::async_reset_signal_is(const sc_out<bool> &, bool)
194{
195 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
196}
197
198void
199sc_module::async_reset_signal_is(const sc_signal_in_if<bool> &, bool)
200{
201 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
202}
203
204
205void
206sc_module::dont_initialize()
207{
208 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
209}
210
211void
212sc_module::set_stack_size(size_t)
213{
214 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
215}
216
217
218void
219sc_module::next_trigger()
220{
221 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
222}
223
224void
225sc_module::next_trigger(const sc_event &)
226{
227 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
228}
229
230void
231sc_module::next_trigger(const sc_event_or_list &)
232{
233 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
234}
235
236void
237sc_module::next_trigger(const sc_event_and_list &)
238{
239 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
240}
241
242void
243sc_module::next_trigger(const sc_time &)
244{
245 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
246}
247
248void
249sc_module::next_trigger(double, sc_time_unit)
250{
251 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
252}
253
254void
255sc_module::next_trigger(const sc_time &, const sc_event &)
256{
257 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
258}
259
260void
261sc_module::next_trigger(double, sc_time_unit, const sc_event &)
262{
263 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
264}
265
266void
267sc_module::next_trigger(const sc_time &, const sc_event_or_list &)
268{
269 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
270}
271
272void
273sc_module::next_trigger(double, sc_time_unit, const sc_event_or_list &)
274{
275 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
276}
277
278void
279sc_module::next_trigger(const sc_time &, const sc_event_and_list &)
280{
281 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
282}
283
284void
285sc_module::next_trigger(double, sc_time_unit, const sc_event_and_list &)
286{
287 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
288}
289
290
291void
292sc_module::wait()
293{
294 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
295}
296
297void
298sc_module::wait(int)
299{
300 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
301}
302
303void
304sc_module::wait(const sc_event &)
305{
306 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
307}
308
309void
310sc_module::wait(const sc_event_or_list &)
311{
312 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
313}
314
315void
316sc_module::wait(const sc_event_and_list &)
317{
318 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
319}
320
321void
322sc_module::wait(const sc_time &)
323{
324 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
325}
326
327void
328sc_module::wait(double, sc_time_unit)
329{
330 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
331}
332
333void
334sc_module::wait(const sc_time &, const sc_event &)
335{
336 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
337}
338
339void
340sc_module::wait(double, sc_time_unit, const sc_event &)
341{
342 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
343}
344
345void
346sc_module::wait(const sc_time &, const sc_event_or_list &)
347{
348 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
349}
350
351void
352sc_module::wait(double, sc_time_unit, const sc_event_or_list &)
353{
354 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
355}
356
357void
358sc_module::wait(const sc_time &, const sc_event_and_list &)
359{
360 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
361}
362
363void
364sc_module::wait(double, sc_time_unit, const sc_event_and_list &)
365{
366 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
367}
368
369
370void
371next_trigger()
372{
373 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
374}
375
376void
377next_trigger(const sc_event &)
378{
379 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
380}
381
382void
383next_trigger(const sc_event_or_list &)
384{
385 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
386}
387
388void
389next_trigger(const sc_event_and_list &)
390{
391 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
392}
393
394void
395next_trigger(const sc_time &)
396{
397 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
398}
399
400void
401next_trigger(double, sc_time_unit)
402{
403 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
404}
405
406void
407next_trigger(const sc_time &, const sc_event &)
408{
409 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
410}
411
412void
413next_trigger(double, sc_time_unit, const sc_event &)
414{
415 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
416}
417
418void
419next_trigger(const sc_time &, const sc_event_or_list &)
420{
421 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
422}
423
424void
425next_trigger(double, sc_time_unit, const sc_event_or_list &)
426{
427 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
428}
429
430void
431next_trigger(const sc_time &, const sc_event_and_list &)
432{
433 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
434}
435
436void
437next_trigger(double, sc_time_unit, const sc_event_and_list &)
438{
439 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
440}
441
442
443void
444wait()
445{
446 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
447}
448
449void
450wait(int)
451{
452 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
453}
454
455void
456wait(const sc_event &)
457{
458 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
459}
460
461void
462wait(const sc_event_or_list &)
463{
464 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
465}
466
467void
468wait(const sc_event_and_list &)
469{
470 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
471}
472
473void
474wait(const sc_time &)
475{
476 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
477}
478
479void
480wait(double, sc_time_unit)
481{
482 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
483}
484
485void
486wait(const sc_time &, const sc_event &)
487{
488 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
489}
490
491void
492wait(double, sc_time_unit, const sc_event &)
493{
494 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
495}
496
497void
498wait(const sc_time &, const sc_event_or_list &)
499{
500 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
501}
502
503void
504wait(double, sc_time_unit, const sc_event_or_list &)
505{
506 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
507}
508
509void
510wait(const sc_time &, const sc_event_and_list &)
511{
512 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
513}
514
515void
516wait(double, sc_time_unit, const sc_event_and_list &)
517{
518 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
519}
520
521const char *
522sc_gen_unique_name(const char *)
523{
524 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
525 return "";
526}
527
528bool
529sc_start_of_simulation_invoked()
530{
531 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
532 return false;
533}
534
535bool
536sc_end_of_simulation_invoked()
537{
538 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
539 return false;
540}
541
33#include "base/logging.hh"
34#include "systemc/ext/core/sc_module.hh"
35
36namespace sc_core
37{
38
39sc_bind_proxy::sc_bind_proxy(const sc_interface &interface)
40{
41 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
42}
43
44sc_bind_proxy::sc_bind_proxy(const sc_port_base &port)
45{
46 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
47}
48
49const sc_bind_proxy SC_BIND_PROXY_NUL(*(const sc_port_base *)nullptr);
50
51sc_module::~sc_module()
52{
53 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
54}
55
56const char *
57sc_module::kind() const
58{
59 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
60 return "";
61}
62
63const sc_bind_proxy SC_BIND_PROXY_NIL(*(const sc_port_base *)nullptr);
64
65void
66sc_module::operator () (const sc_bind_proxy &p001,
67 const sc_bind_proxy &p002,
68 const sc_bind_proxy &p003,
69 const sc_bind_proxy &p004,
70 const sc_bind_proxy &p005,
71 const sc_bind_proxy &p006,
72 const sc_bind_proxy &p007,
73 const sc_bind_proxy &p008,
74 const sc_bind_proxy &p009,
75 const sc_bind_proxy &p010,
76 const sc_bind_proxy &p011,
77 const sc_bind_proxy &p012,
78 const sc_bind_proxy &p013,
79 const sc_bind_proxy &p014,
80 const sc_bind_proxy &p015,
81 const sc_bind_proxy &p016,
82 const sc_bind_proxy &p017,
83 const sc_bind_proxy &p018,
84 const sc_bind_proxy &p019,
85 const sc_bind_proxy &p020,
86 const sc_bind_proxy &p021,
87 const sc_bind_proxy &p022,
88 const sc_bind_proxy &p023,
89 const sc_bind_proxy &p024,
90 const sc_bind_proxy &p025,
91 const sc_bind_proxy &p026,
92 const sc_bind_proxy &p027,
93 const sc_bind_proxy &p028,
94 const sc_bind_proxy &p029,
95 const sc_bind_proxy &p030,
96 const sc_bind_proxy &p031,
97 const sc_bind_proxy &p032,
98 const sc_bind_proxy &p033,
99 const sc_bind_proxy &p034,
100 const sc_bind_proxy &p035,
101 const sc_bind_proxy &p036,
102 const sc_bind_proxy &p037,
103 const sc_bind_proxy &p038,
104 const sc_bind_proxy &p039,
105 const sc_bind_proxy &p040,
106 const sc_bind_proxy &p041,
107 const sc_bind_proxy &p042,
108 const sc_bind_proxy &p043,
109 const sc_bind_proxy &p044,
110 const sc_bind_proxy &p045,
111 const sc_bind_proxy &p046,
112 const sc_bind_proxy &p047,
113 const sc_bind_proxy &p048,
114 const sc_bind_proxy &p049,
115 const sc_bind_proxy &p050,
116 const sc_bind_proxy &p051,
117 const sc_bind_proxy &p052,
118 const sc_bind_proxy &p053,
119 const sc_bind_proxy &p054,
120 const sc_bind_proxy &p055,
121 const sc_bind_proxy &p056,
122 const sc_bind_proxy &p057,
123 const sc_bind_proxy &p058,
124 const sc_bind_proxy &p059,
125 const sc_bind_proxy &p060,
126 const sc_bind_proxy &p061,
127 const sc_bind_proxy &p062,
128 const sc_bind_proxy &p063,
129 const sc_bind_proxy &p064)
130{
131 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
132}
133
134const std::vector<sc_object *> &
135sc_module::get_child_objects() const
136{
137 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
138 return *(const std::vector<sc_object *> *)nullptr;
139}
140
141const std::vector<sc_event *> &
142sc_module::get_child_events() const
143{
144 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
145 return *(const std::vector<sc_event *> *)nullptr;
146}
147
148sc_module::sc_module(const sc_module_name &)
149{
150 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
151}
152
153sc_module::sc_module()
154{
155 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
156}
157
158void
159sc_module::reset_signal_is(const sc_in<bool> &, bool)
160{
161 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
162}
163
164void
165sc_module::reset_signal_is(const sc_inout<bool> &, bool)
166{
167 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
168}
169
170void
171sc_module::reset_signal_is(const sc_out<bool> &, bool)
172{
173 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
174}
175
176void
177sc_module::reset_signal_is(const sc_signal_in_if<bool> &, bool)
178{
179 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
180}
181
182
183void
184sc_module::async_reset_signal_is(const sc_in<bool> &, bool)
185{
186 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
187}
188
189void
190sc_module::async_reset_signal_is(const sc_inout<bool> &, bool)
191{
192 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
193}
194
195void
196sc_module::async_reset_signal_is(const sc_out<bool> &, bool)
197{
198 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
199}
200
201void
202sc_module::async_reset_signal_is(const sc_signal_in_if<bool> &, bool)
203{
204 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
205}
206
207
208void
209sc_module::dont_initialize()
210{
211 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
212}
213
214void
215sc_module::set_stack_size(size_t)
216{
217 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
218}
219
220
221void
222sc_module::next_trigger()
223{
224 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
225}
226
227void
228sc_module::next_trigger(const sc_event &)
229{
230 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
231}
232
233void
234sc_module::next_trigger(const sc_event_or_list &)
235{
236 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
237}
238
239void
240sc_module::next_trigger(const sc_event_and_list &)
241{
242 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
243}
244
245void
246sc_module::next_trigger(const sc_time &)
247{
248 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
249}
250
251void
252sc_module::next_trigger(double, sc_time_unit)
253{
254 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
255}
256
257void
258sc_module::next_trigger(const sc_time &, const sc_event &)
259{
260 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
261}
262
263void
264sc_module::next_trigger(double, sc_time_unit, const sc_event &)
265{
266 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
267}
268
269void
270sc_module::next_trigger(const sc_time &, const sc_event_or_list &)
271{
272 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
273}
274
275void
276sc_module::next_trigger(double, sc_time_unit, const sc_event_or_list &)
277{
278 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
279}
280
281void
282sc_module::next_trigger(const sc_time &, const sc_event_and_list &)
283{
284 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
285}
286
287void
288sc_module::next_trigger(double, sc_time_unit, const sc_event_and_list &)
289{
290 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
291}
292
293
294void
295sc_module::wait()
296{
297 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
298}
299
300void
301sc_module::wait(int)
302{
303 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
304}
305
306void
307sc_module::wait(const sc_event &)
308{
309 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
310}
311
312void
313sc_module::wait(const sc_event_or_list &)
314{
315 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
316}
317
318void
319sc_module::wait(const sc_event_and_list &)
320{
321 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
322}
323
324void
325sc_module::wait(const sc_time &)
326{
327 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
328}
329
330void
331sc_module::wait(double, sc_time_unit)
332{
333 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
334}
335
336void
337sc_module::wait(const sc_time &, const sc_event &)
338{
339 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
340}
341
342void
343sc_module::wait(double, sc_time_unit, const sc_event &)
344{
345 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
346}
347
348void
349sc_module::wait(const sc_time &, const sc_event_or_list &)
350{
351 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
352}
353
354void
355sc_module::wait(double, sc_time_unit, const sc_event_or_list &)
356{
357 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
358}
359
360void
361sc_module::wait(const sc_time &, const sc_event_and_list &)
362{
363 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
364}
365
366void
367sc_module::wait(double, sc_time_unit, const sc_event_and_list &)
368{
369 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
370}
371
372
373void
374next_trigger()
375{
376 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
377}
378
379void
380next_trigger(const sc_event &)
381{
382 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
383}
384
385void
386next_trigger(const sc_event_or_list &)
387{
388 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
389}
390
391void
392next_trigger(const sc_event_and_list &)
393{
394 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
395}
396
397void
398next_trigger(const sc_time &)
399{
400 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
401}
402
403void
404next_trigger(double, sc_time_unit)
405{
406 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
407}
408
409void
410next_trigger(const sc_time &, const sc_event &)
411{
412 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
413}
414
415void
416next_trigger(double, sc_time_unit, const sc_event &)
417{
418 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
419}
420
421void
422next_trigger(const sc_time &, const sc_event_or_list &)
423{
424 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
425}
426
427void
428next_trigger(double, sc_time_unit, const sc_event_or_list &)
429{
430 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
431}
432
433void
434next_trigger(const sc_time &, const sc_event_and_list &)
435{
436 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
437}
438
439void
440next_trigger(double, sc_time_unit, const sc_event_and_list &)
441{
442 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
443}
444
445
446void
447wait()
448{
449 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
450}
451
452void
453wait(int)
454{
455 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
456}
457
458void
459wait(const sc_event &)
460{
461 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
462}
463
464void
465wait(const sc_event_or_list &)
466{
467 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
468}
469
470void
471wait(const sc_event_and_list &)
472{
473 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
474}
475
476void
477wait(const sc_time &)
478{
479 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
480}
481
482void
483wait(double, sc_time_unit)
484{
485 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
486}
487
488void
489wait(const sc_time &, const sc_event &)
490{
491 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
492}
493
494void
495wait(double, sc_time_unit, const sc_event &)
496{
497 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
498}
499
500void
501wait(const sc_time &, const sc_event_or_list &)
502{
503 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
504}
505
506void
507wait(double, sc_time_unit, const sc_event_or_list &)
508{
509 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
510}
511
512void
513wait(const sc_time &, const sc_event_and_list &)
514{
515 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
516}
517
518void
519wait(double, sc_time_unit, const sc_event_and_list &)
520{
521 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
522}
523
524const char *
525sc_gen_unique_name(const char *)
526{
527 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
528 return "";
529}
530
531bool
532sc_start_of_simulation_invoked()
533{
534 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
535 return false;
536}
537
538bool
539sc_end_of_simulation_invoked()
540{
541 warn("%s not implemented.\n", __PRETTY_FUNCTION__);
542 return false;
543}
544
545sc_module *
546sc_module_sc_new(sc_module *mod)
547{
548 static std::vector<std::unique_ptr<sc_module> > modules;
549 modules.emplace_back(mod);
550 return mod;
551}
552
542} // namespace sc_core
553} // namespace sc_core