sc_module.cc revision 12930
112837Sgabeblack@google.com/*
212837Sgabeblack@google.com * Copyright 2018 Google, Inc.
312837Sgabeblack@google.com *
412837Sgabeblack@google.com * Redistribution and use in source and binary forms, with or without
512837Sgabeblack@google.com * modification, are permitted provided that the following conditions are
612837Sgabeblack@google.com * met: redistributions of source code must retain the above copyright
712837Sgabeblack@google.com * notice, this list of conditions and the following disclaimer;
812837Sgabeblack@google.com * redistributions in binary form must reproduce the above copyright
912837Sgabeblack@google.com * notice, this list of conditions and the following disclaimer in the
1012837Sgabeblack@google.com * documentation and/or other materials provided with the distribution;
1112837Sgabeblack@google.com * neither the name of the copyright holders nor the names of its
1212837Sgabeblack@google.com * contributors may be used to endorse or promote products derived from
1312837Sgabeblack@google.com * this software without specific prior written permission.
1412837Sgabeblack@google.com *
1512837Sgabeblack@google.com * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1612837Sgabeblack@google.com * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1712837Sgabeblack@google.com * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1812837Sgabeblack@google.com * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1912837Sgabeblack@google.com * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2012837Sgabeblack@google.com * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2112837Sgabeblack@google.com * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2212837Sgabeblack@google.com * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2312837Sgabeblack@google.com * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2412837Sgabeblack@google.com * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2512837Sgabeblack@google.com * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2612837Sgabeblack@google.com *
2712837Sgabeblack@google.com * Authors: Gabe Black
2812837Sgabeblack@google.com */
2912837Sgabeblack@google.com
3012901Sgabeblack@google.com#include <memory>
3112901Sgabeblack@google.com#include <vector>
3212901Sgabeblack@google.com
3312837Sgabeblack@google.com#include "base/logging.hh"
3412837Sgabeblack@google.com#include "systemc/ext/core/sc_module.hh"
3512837Sgabeblack@google.com
3612837Sgabeblack@google.comnamespace sc_core
3712837Sgabeblack@google.com{
3812837Sgabeblack@google.com
3912837Sgabeblack@google.comsc_bind_proxy::sc_bind_proxy(const sc_interface &interface)
4012837Sgabeblack@google.com{
4112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
4212837Sgabeblack@google.com}
4312837Sgabeblack@google.com
4412837Sgabeblack@google.comsc_bind_proxy::sc_bind_proxy(const sc_port_base &port)
4512837Sgabeblack@google.com{
4612837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
4712837Sgabeblack@google.com}
4812837Sgabeblack@google.com
4912837Sgabeblack@google.comconst sc_bind_proxy SC_BIND_PROXY_NUL(*(const sc_port_base *)nullptr);
5012837Sgabeblack@google.com
5112837Sgabeblack@google.comsc_module::~sc_module()
5212837Sgabeblack@google.com{
5312837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
5412837Sgabeblack@google.com}
5512837Sgabeblack@google.com
5612837Sgabeblack@google.comconst char *
5712837Sgabeblack@google.comsc_module::kind() const
5812837Sgabeblack@google.com{
5912837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
6012837Sgabeblack@google.com    return "";
6112837Sgabeblack@google.com}
6212837Sgabeblack@google.com
6312837Sgabeblack@google.comconst sc_bind_proxy SC_BIND_PROXY_NIL(*(const sc_port_base *)nullptr);
6412837Sgabeblack@google.com
6512837Sgabeblack@google.comvoid
6612837Sgabeblack@google.comsc_module::operator () (const sc_bind_proxy &p001,
6712837Sgabeblack@google.com                        const sc_bind_proxy &p002,
6812837Sgabeblack@google.com                        const sc_bind_proxy &p003,
6912837Sgabeblack@google.com                        const sc_bind_proxy &p004,
7012837Sgabeblack@google.com                        const sc_bind_proxy &p005,
7112837Sgabeblack@google.com                        const sc_bind_proxy &p006,
7212837Sgabeblack@google.com                        const sc_bind_proxy &p007,
7312837Sgabeblack@google.com                        const sc_bind_proxy &p008,
7412837Sgabeblack@google.com                        const sc_bind_proxy &p009,
7512837Sgabeblack@google.com                        const sc_bind_proxy &p010,
7612837Sgabeblack@google.com                        const sc_bind_proxy &p011,
7712837Sgabeblack@google.com                        const sc_bind_proxy &p012,
7812837Sgabeblack@google.com                        const sc_bind_proxy &p013,
7912837Sgabeblack@google.com                        const sc_bind_proxy &p014,
8012837Sgabeblack@google.com                        const sc_bind_proxy &p015,
8112837Sgabeblack@google.com                        const sc_bind_proxy &p016,
8212837Sgabeblack@google.com                        const sc_bind_proxy &p017,
8312837Sgabeblack@google.com                        const sc_bind_proxy &p018,
8412837Sgabeblack@google.com                        const sc_bind_proxy &p019,
8512837Sgabeblack@google.com                        const sc_bind_proxy &p020,
8612837Sgabeblack@google.com                        const sc_bind_proxy &p021,
8712837Sgabeblack@google.com                        const sc_bind_proxy &p022,
8812837Sgabeblack@google.com                        const sc_bind_proxy &p023,
8912837Sgabeblack@google.com                        const sc_bind_proxy &p024,
9012837Sgabeblack@google.com                        const sc_bind_proxy &p025,
9112837Sgabeblack@google.com                        const sc_bind_proxy &p026,
9212837Sgabeblack@google.com                        const sc_bind_proxy &p027,
9312837Sgabeblack@google.com                        const sc_bind_proxy &p028,
9412837Sgabeblack@google.com                        const sc_bind_proxy &p029,
9512837Sgabeblack@google.com                        const sc_bind_proxy &p030,
9612837Sgabeblack@google.com                        const sc_bind_proxy &p031,
9712837Sgabeblack@google.com                        const sc_bind_proxy &p032,
9812837Sgabeblack@google.com                        const sc_bind_proxy &p033,
9912837Sgabeblack@google.com                        const sc_bind_proxy &p034,
10012837Sgabeblack@google.com                        const sc_bind_proxy &p035,
10112837Sgabeblack@google.com                        const sc_bind_proxy &p036,
10212837Sgabeblack@google.com                        const sc_bind_proxy &p037,
10312837Sgabeblack@google.com                        const sc_bind_proxy &p038,
10412837Sgabeblack@google.com                        const sc_bind_proxy &p039,
10512837Sgabeblack@google.com                        const sc_bind_proxy &p040,
10612837Sgabeblack@google.com                        const sc_bind_proxy &p041,
10712837Sgabeblack@google.com                        const sc_bind_proxy &p042,
10812837Sgabeblack@google.com                        const sc_bind_proxy &p043,
10912837Sgabeblack@google.com                        const sc_bind_proxy &p044,
11012837Sgabeblack@google.com                        const sc_bind_proxy &p045,
11112837Sgabeblack@google.com                        const sc_bind_proxy &p046,
11212837Sgabeblack@google.com                        const sc_bind_proxy &p047,
11312837Sgabeblack@google.com                        const sc_bind_proxy &p048,
11412837Sgabeblack@google.com                        const sc_bind_proxy &p049,
11512837Sgabeblack@google.com                        const sc_bind_proxy &p050,
11612837Sgabeblack@google.com                        const sc_bind_proxy &p051,
11712837Sgabeblack@google.com                        const sc_bind_proxy &p052,
11812837Sgabeblack@google.com                        const sc_bind_proxy &p053,
11912837Sgabeblack@google.com                        const sc_bind_proxy &p054,
12012837Sgabeblack@google.com                        const sc_bind_proxy &p055,
12112837Sgabeblack@google.com                        const sc_bind_proxy &p056,
12212837Sgabeblack@google.com                        const sc_bind_proxy &p057,
12312837Sgabeblack@google.com                        const sc_bind_proxy &p058,
12412837Sgabeblack@google.com                        const sc_bind_proxy &p059,
12512837Sgabeblack@google.com                        const sc_bind_proxy &p060,
12612837Sgabeblack@google.com                        const sc_bind_proxy &p061,
12712837Sgabeblack@google.com                        const sc_bind_proxy &p062,
12812837Sgabeblack@google.com                        const sc_bind_proxy &p063,
12912837Sgabeblack@google.com                        const sc_bind_proxy &p064)
13012837Sgabeblack@google.com{
13112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
13212837Sgabeblack@google.com}
13312837Sgabeblack@google.com
13412837Sgabeblack@google.comconst std::vector<sc_object *> &
13512837Sgabeblack@google.comsc_module::get_child_objects() const
13612837Sgabeblack@google.com{
13712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
13812837Sgabeblack@google.com    return *(const std::vector<sc_object *> *)nullptr;
13912837Sgabeblack@google.com}
14012837Sgabeblack@google.com
14112837Sgabeblack@google.comconst std::vector<sc_event *> &
14212837Sgabeblack@google.comsc_module::get_child_events() const
14312837Sgabeblack@google.com{
14412837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
14512837Sgabeblack@google.com    return *(const std::vector<sc_event *> *)nullptr;
14612837Sgabeblack@google.com}
14712837Sgabeblack@google.com
14812837Sgabeblack@google.comsc_module::sc_module(const sc_module_name &)
14912837Sgabeblack@google.com{
15012837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
15112837Sgabeblack@google.com}
15212837Sgabeblack@google.com
15312837Sgabeblack@google.comsc_module::sc_module()
15412837Sgabeblack@google.com{
15512837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
15612837Sgabeblack@google.com}
15712837Sgabeblack@google.com
15812928Sgabeblack@google.comsc_module::sc_module(const char *)
15912928Sgabeblack@google.com{
16012928Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
16112928Sgabeblack@google.com}
16212928Sgabeblack@google.com
16312928Sgabeblack@google.comsc_module::sc_module(const std::string &)
16412928Sgabeblack@google.com{
16512928Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
16612928Sgabeblack@google.com}
16712928Sgabeblack@google.com
16812837Sgabeblack@google.comvoid
16912837Sgabeblack@google.comsc_module::reset_signal_is(const sc_in<bool> &, bool)
17012837Sgabeblack@google.com{
17112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
17212837Sgabeblack@google.com}
17312837Sgabeblack@google.com
17412837Sgabeblack@google.comvoid
17512837Sgabeblack@google.comsc_module::reset_signal_is(const sc_inout<bool> &, bool)
17612837Sgabeblack@google.com{
17712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
17812837Sgabeblack@google.com}
17912837Sgabeblack@google.com
18012837Sgabeblack@google.comvoid
18112837Sgabeblack@google.comsc_module::reset_signal_is(const sc_out<bool> &, bool)
18212837Sgabeblack@google.com{
18312837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
18412837Sgabeblack@google.com}
18512837Sgabeblack@google.com
18612837Sgabeblack@google.comvoid
18712837Sgabeblack@google.comsc_module::reset_signal_is(const sc_signal_in_if<bool> &, bool)
18812837Sgabeblack@google.com{
18912837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
19012837Sgabeblack@google.com}
19112837Sgabeblack@google.com
19212837Sgabeblack@google.com
19312837Sgabeblack@google.comvoid
19412837Sgabeblack@google.comsc_module::async_reset_signal_is(const sc_in<bool> &, bool)
19512837Sgabeblack@google.com{
19612837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
19712837Sgabeblack@google.com}
19812837Sgabeblack@google.com
19912837Sgabeblack@google.comvoid
20012837Sgabeblack@google.comsc_module::async_reset_signal_is(const sc_inout<bool> &, bool)
20112837Sgabeblack@google.com{
20212837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
20312837Sgabeblack@google.com}
20412837Sgabeblack@google.com
20512837Sgabeblack@google.comvoid
20612837Sgabeblack@google.comsc_module::async_reset_signal_is(const sc_out<bool> &, bool)
20712837Sgabeblack@google.com{
20812837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
20912837Sgabeblack@google.com}
21012837Sgabeblack@google.com
21112837Sgabeblack@google.comvoid
21212837Sgabeblack@google.comsc_module::async_reset_signal_is(const sc_signal_in_if<bool> &, bool)
21312837Sgabeblack@google.com{
21412837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
21512837Sgabeblack@google.com}
21612837Sgabeblack@google.com
21712837Sgabeblack@google.com
21812837Sgabeblack@google.comvoid
21912837Sgabeblack@google.comsc_module::dont_initialize()
22012837Sgabeblack@google.com{
22112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
22212837Sgabeblack@google.com}
22312837Sgabeblack@google.com
22412837Sgabeblack@google.comvoid
22512837Sgabeblack@google.comsc_module::set_stack_size(size_t)
22612837Sgabeblack@google.com{
22712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
22812837Sgabeblack@google.com}
22912837Sgabeblack@google.com
23012837Sgabeblack@google.com
23112837Sgabeblack@google.comvoid
23212837Sgabeblack@google.comsc_module::next_trigger()
23312837Sgabeblack@google.com{
23412837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
23512837Sgabeblack@google.com}
23612837Sgabeblack@google.com
23712837Sgabeblack@google.comvoid
23812837Sgabeblack@google.comsc_module::next_trigger(const sc_event &)
23912837Sgabeblack@google.com{
24012837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
24112837Sgabeblack@google.com}
24212837Sgabeblack@google.com
24312837Sgabeblack@google.comvoid
24412837Sgabeblack@google.comsc_module::next_trigger(const sc_event_or_list &)
24512837Sgabeblack@google.com{
24612837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
24712837Sgabeblack@google.com}
24812837Sgabeblack@google.com
24912837Sgabeblack@google.comvoid
25012837Sgabeblack@google.comsc_module::next_trigger(const sc_event_and_list &)
25112837Sgabeblack@google.com{
25212837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
25312837Sgabeblack@google.com}
25412837Sgabeblack@google.com
25512837Sgabeblack@google.comvoid
25612837Sgabeblack@google.comsc_module::next_trigger(const sc_time &)
25712837Sgabeblack@google.com{
25812837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
25912837Sgabeblack@google.com}
26012837Sgabeblack@google.com
26112837Sgabeblack@google.comvoid
26212837Sgabeblack@google.comsc_module::next_trigger(double, sc_time_unit)
26312837Sgabeblack@google.com{
26412837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
26512837Sgabeblack@google.com}
26612837Sgabeblack@google.com
26712837Sgabeblack@google.comvoid
26812837Sgabeblack@google.comsc_module::next_trigger(const sc_time &, const sc_event &)
26912837Sgabeblack@google.com{
27012837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
27112837Sgabeblack@google.com}
27212837Sgabeblack@google.com
27312837Sgabeblack@google.comvoid
27412837Sgabeblack@google.comsc_module::next_trigger(double, sc_time_unit, const sc_event &)
27512837Sgabeblack@google.com{
27612837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
27712837Sgabeblack@google.com}
27812837Sgabeblack@google.com
27912837Sgabeblack@google.comvoid
28012837Sgabeblack@google.comsc_module::next_trigger(const sc_time &, const sc_event_or_list &)
28112837Sgabeblack@google.com{
28212837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
28312837Sgabeblack@google.com}
28412837Sgabeblack@google.com
28512837Sgabeblack@google.comvoid
28612837Sgabeblack@google.comsc_module::next_trigger(double, sc_time_unit, const sc_event_or_list &)
28712837Sgabeblack@google.com{
28812837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
28912837Sgabeblack@google.com}
29012837Sgabeblack@google.com
29112837Sgabeblack@google.comvoid
29212837Sgabeblack@google.comsc_module::next_trigger(const sc_time &, const sc_event_and_list &)
29312837Sgabeblack@google.com{
29412837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
29512837Sgabeblack@google.com}
29612837Sgabeblack@google.com
29712837Sgabeblack@google.comvoid
29812837Sgabeblack@google.comsc_module::next_trigger(double, sc_time_unit, const sc_event_and_list &)
29912837Sgabeblack@google.com{
30012837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
30112837Sgabeblack@google.com}
30212837Sgabeblack@google.com
30312837Sgabeblack@google.com
30412929Sgabeblack@google.combool
30512929Sgabeblack@google.comsc_module::timed_out()
30612929Sgabeblack@google.com{
30712929Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
30812929Sgabeblack@google.com    return false;
30912929Sgabeblack@google.com}
31012929Sgabeblack@google.com
31112929Sgabeblack@google.com
31212837Sgabeblack@google.comvoid
31312837Sgabeblack@google.comsc_module::wait()
31412837Sgabeblack@google.com{
31512837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
31612837Sgabeblack@google.com}
31712837Sgabeblack@google.com
31812837Sgabeblack@google.comvoid
31912837Sgabeblack@google.comsc_module::wait(int)
32012837Sgabeblack@google.com{
32112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
32212837Sgabeblack@google.com}
32312837Sgabeblack@google.com
32412837Sgabeblack@google.comvoid
32512837Sgabeblack@google.comsc_module::wait(const sc_event &)
32612837Sgabeblack@google.com{
32712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
32812837Sgabeblack@google.com}
32912837Sgabeblack@google.com
33012837Sgabeblack@google.comvoid
33112837Sgabeblack@google.comsc_module::wait(const sc_event_or_list &)
33212837Sgabeblack@google.com{
33312837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
33412837Sgabeblack@google.com}
33512837Sgabeblack@google.com
33612837Sgabeblack@google.comvoid
33712837Sgabeblack@google.comsc_module::wait(const sc_event_and_list &)
33812837Sgabeblack@google.com{
33912837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
34012837Sgabeblack@google.com}
34112837Sgabeblack@google.com
34212837Sgabeblack@google.comvoid
34312837Sgabeblack@google.comsc_module::wait(const sc_time &)
34412837Sgabeblack@google.com{
34512837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
34612837Sgabeblack@google.com}
34712837Sgabeblack@google.com
34812837Sgabeblack@google.comvoid
34912837Sgabeblack@google.comsc_module::wait(double, sc_time_unit)
35012837Sgabeblack@google.com{
35112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
35212837Sgabeblack@google.com}
35312837Sgabeblack@google.com
35412837Sgabeblack@google.comvoid
35512837Sgabeblack@google.comsc_module::wait(const sc_time &, const sc_event &)
35612837Sgabeblack@google.com{
35712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
35812837Sgabeblack@google.com}
35912837Sgabeblack@google.com
36012837Sgabeblack@google.comvoid
36112837Sgabeblack@google.comsc_module::wait(double, sc_time_unit, const sc_event &)
36212837Sgabeblack@google.com{
36312837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
36412837Sgabeblack@google.com}
36512837Sgabeblack@google.com
36612837Sgabeblack@google.comvoid
36712837Sgabeblack@google.comsc_module::wait(const sc_time &, const sc_event_or_list &)
36812837Sgabeblack@google.com{
36912837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
37012837Sgabeblack@google.com}
37112837Sgabeblack@google.com
37212837Sgabeblack@google.comvoid
37312837Sgabeblack@google.comsc_module::wait(double, sc_time_unit, const sc_event_or_list &)
37412837Sgabeblack@google.com{
37512837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
37612837Sgabeblack@google.com}
37712837Sgabeblack@google.com
37812837Sgabeblack@google.comvoid
37912837Sgabeblack@google.comsc_module::wait(const sc_time &, const sc_event_and_list &)
38012837Sgabeblack@google.com{
38112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
38212837Sgabeblack@google.com}
38312837Sgabeblack@google.com
38412837Sgabeblack@google.comvoid
38512837Sgabeblack@google.comsc_module::wait(double, sc_time_unit, const sc_event_and_list &)
38612837Sgabeblack@google.com{
38712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
38812837Sgabeblack@google.com}
38912837Sgabeblack@google.com
39012837Sgabeblack@google.com
39112837Sgabeblack@google.comvoid
39212909Sgabeblack@google.comsc_module::halt()
39312909Sgabeblack@google.com{
39412909Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
39512909Sgabeblack@google.com}
39612909Sgabeblack@google.com
39712914Sgabeblack@google.comvoid
39812914Sgabeblack@google.comsc_module::at_posedge(const sc_signal_in_if<bool> &)
39912914Sgabeblack@google.com{
40012914Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
40112914Sgabeblack@google.com}
40212914Sgabeblack@google.com
40312914Sgabeblack@google.comvoid
40412914Sgabeblack@google.comsc_module::at_posedge(const sc_signal_in_if<sc_dt::sc_logic> &)
40512914Sgabeblack@google.com{
40612914Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
40712914Sgabeblack@google.com}
40812914Sgabeblack@google.com
40912914Sgabeblack@google.comvoid
41012914Sgabeblack@google.comsc_module::at_negedge(const sc_signal_in_if<bool> &)
41112914Sgabeblack@google.com{
41212914Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
41312914Sgabeblack@google.com}
41412914Sgabeblack@google.com
41512914Sgabeblack@google.comvoid
41612914Sgabeblack@google.comsc_module::at_negedge(const sc_signal_in_if<sc_dt::sc_logic> &)
41712914Sgabeblack@google.com{
41812914Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
41912914Sgabeblack@google.com}
42012914Sgabeblack@google.com
42112909Sgabeblack@google.com
42212909Sgabeblack@google.comvoid
42312837Sgabeblack@google.comnext_trigger()
42412837Sgabeblack@google.com{
42512837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
42612837Sgabeblack@google.com}
42712837Sgabeblack@google.com
42812837Sgabeblack@google.comvoid
42912837Sgabeblack@google.comnext_trigger(const sc_event &)
43012837Sgabeblack@google.com{
43112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
43212837Sgabeblack@google.com}
43312837Sgabeblack@google.com
43412837Sgabeblack@google.comvoid
43512837Sgabeblack@google.comnext_trigger(const sc_event_or_list &)
43612837Sgabeblack@google.com{
43712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
43812837Sgabeblack@google.com}
43912837Sgabeblack@google.com
44012837Sgabeblack@google.comvoid
44112837Sgabeblack@google.comnext_trigger(const sc_event_and_list &)
44212837Sgabeblack@google.com{
44312837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
44412837Sgabeblack@google.com}
44512837Sgabeblack@google.com
44612837Sgabeblack@google.comvoid
44712837Sgabeblack@google.comnext_trigger(const sc_time &)
44812837Sgabeblack@google.com{
44912837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
45012837Sgabeblack@google.com}
45112837Sgabeblack@google.com
45212837Sgabeblack@google.comvoid
45312837Sgabeblack@google.comnext_trigger(double, sc_time_unit)
45412837Sgabeblack@google.com{
45512837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
45612837Sgabeblack@google.com}
45712837Sgabeblack@google.com
45812837Sgabeblack@google.comvoid
45912837Sgabeblack@google.comnext_trigger(const sc_time &, const sc_event &)
46012837Sgabeblack@google.com{
46112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
46212837Sgabeblack@google.com}
46312837Sgabeblack@google.com
46412837Sgabeblack@google.comvoid
46512837Sgabeblack@google.comnext_trigger(double, sc_time_unit, const sc_event &)
46612837Sgabeblack@google.com{
46712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
46812837Sgabeblack@google.com}
46912837Sgabeblack@google.com
47012837Sgabeblack@google.comvoid
47112837Sgabeblack@google.comnext_trigger(const sc_time &, const sc_event_or_list &)
47212837Sgabeblack@google.com{
47312837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
47412837Sgabeblack@google.com}
47512837Sgabeblack@google.com
47612837Sgabeblack@google.comvoid
47712837Sgabeblack@google.comnext_trigger(double, sc_time_unit, const sc_event_or_list &)
47812837Sgabeblack@google.com{
47912837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
48012837Sgabeblack@google.com}
48112837Sgabeblack@google.com
48212837Sgabeblack@google.comvoid
48312837Sgabeblack@google.comnext_trigger(const sc_time &, const sc_event_and_list &)
48412837Sgabeblack@google.com{
48512837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
48612837Sgabeblack@google.com}
48712837Sgabeblack@google.com
48812837Sgabeblack@google.comvoid
48912837Sgabeblack@google.comnext_trigger(double, sc_time_unit, const sc_event_and_list &)
49012837Sgabeblack@google.com{
49112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
49212837Sgabeblack@google.com}
49312837Sgabeblack@google.com
49412929Sgabeblack@google.combool
49512929Sgabeblack@google.comtimed_out()
49612929Sgabeblack@google.com{
49712929Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
49812929Sgabeblack@google.com    return false;
49912929Sgabeblack@google.com}
50012929Sgabeblack@google.com
50112837Sgabeblack@google.com
50212837Sgabeblack@google.comvoid
50312837Sgabeblack@google.comwait()
50412837Sgabeblack@google.com{
50512837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
50612837Sgabeblack@google.com}
50712837Sgabeblack@google.com
50812837Sgabeblack@google.comvoid
50912837Sgabeblack@google.comwait(int)
51012837Sgabeblack@google.com{
51112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
51212837Sgabeblack@google.com}
51312837Sgabeblack@google.com
51412837Sgabeblack@google.comvoid
51512837Sgabeblack@google.comwait(const sc_event &)
51612837Sgabeblack@google.com{
51712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
51812837Sgabeblack@google.com}
51912837Sgabeblack@google.com
52012837Sgabeblack@google.comvoid
52112837Sgabeblack@google.comwait(const sc_event_or_list &)
52212837Sgabeblack@google.com{
52312837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
52412837Sgabeblack@google.com}
52512837Sgabeblack@google.com
52612837Sgabeblack@google.comvoid
52712837Sgabeblack@google.comwait(const sc_event_and_list &)
52812837Sgabeblack@google.com{
52912837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
53012837Sgabeblack@google.com}
53112837Sgabeblack@google.com
53212837Sgabeblack@google.comvoid
53312837Sgabeblack@google.comwait(const sc_time &)
53412837Sgabeblack@google.com{
53512837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
53612837Sgabeblack@google.com}
53712837Sgabeblack@google.com
53812837Sgabeblack@google.comvoid
53912837Sgabeblack@google.comwait(double, sc_time_unit)
54012837Sgabeblack@google.com{
54112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
54212837Sgabeblack@google.com}
54312837Sgabeblack@google.com
54412837Sgabeblack@google.comvoid
54512837Sgabeblack@google.comwait(const sc_time &, const sc_event &)
54612837Sgabeblack@google.com{
54712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
54812837Sgabeblack@google.com}
54912837Sgabeblack@google.com
55012837Sgabeblack@google.comvoid
55112837Sgabeblack@google.comwait(double, sc_time_unit, const sc_event &)
55212837Sgabeblack@google.com{
55312837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
55412837Sgabeblack@google.com}
55512837Sgabeblack@google.com
55612837Sgabeblack@google.comvoid
55712837Sgabeblack@google.comwait(const sc_time &, const sc_event_or_list &)
55812837Sgabeblack@google.com{
55912837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
56012837Sgabeblack@google.com}
56112837Sgabeblack@google.com
56212837Sgabeblack@google.comvoid
56312837Sgabeblack@google.comwait(double, sc_time_unit, const sc_event_or_list &)
56412837Sgabeblack@google.com{
56512837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
56612837Sgabeblack@google.com}
56712837Sgabeblack@google.com
56812837Sgabeblack@google.comvoid
56912837Sgabeblack@google.comwait(const sc_time &, const sc_event_and_list &)
57012837Sgabeblack@google.com{
57112837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
57212837Sgabeblack@google.com}
57312837Sgabeblack@google.com
57412837Sgabeblack@google.comvoid
57512837Sgabeblack@google.comwait(double, sc_time_unit, const sc_event_and_list &)
57612837Sgabeblack@google.com{
57712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
57812837Sgabeblack@google.com}
57912837Sgabeblack@google.com
58012909Sgabeblack@google.comvoid
58112909Sgabeblack@google.comhalt()
58212909Sgabeblack@google.com{
58312909Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
58412909Sgabeblack@google.com}
58512909Sgabeblack@google.com
58612914Sgabeblack@google.comvoid
58712914Sgabeblack@google.comat_posedge(const sc_signal_in_if<bool> &)
58812914Sgabeblack@google.com{
58912914Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
59012914Sgabeblack@google.com}
59112914Sgabeblack@google.com
59212914Sgabeblack@google.comvoid
59312914Sgabeblack@google.comat_posedge(const sc_signal_in_if<sc_dt::sc_logic> &)
59412914Sgabeblack@google.com{
59512914Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
59612914Sgabeblack@google.com}
59712914Sgabeblack@google.com
59812914Sgabeblack@google.comvoid
59912914Sgabeblack@google.comat_negedge(const sc_signal_in_if<bool> &)
60012914Sgabeblack@google.com{
60112914Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
60212914Sgabeblack@google.com}
60312914Sgabeblack@google.com
60412914Sgabeblack@google.comvoid
60512914Sgabeblack@google.comat_negedge(const sc_signal_in_if<sc_dt::sc_logic> &)
60612914Sgabeblack@google.com{
60712914Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
60812914Sgabeblack@google.com}
60912914Sgabeblack@google.com
61012837Sgabeblack@google.comconst char *
61112837Sgabeblack@google.comsc_gen_unique_name(const char *)
61212837Sgabeblack@google.com{
61312837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
61412837Sgabeblack@google.com    return "";
61512837Sgabeblack@google.com}
61612837Sgabeblack@google.com
61712837Sgabeblack@google.combool
61812930Sgabeblack@google.comsc_hierarchical_name_exists(const char *name)
61912930Sgabeblack@google.com{
62012930Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
62112930Sgabeblack@google.com    return false;
62212930Sgabeblack@google.com}
62312930Sgabeblack@google.com
62412930Sgabeblack@google.combool
62512837Sgabeblack@google.comsc_start_of_simulation_invoked()
62612837Sgabeblack@google.com{
62712837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
62812837Sgabeblack@google.com    return false;
62912837Sgabeblack@google.com}
63012837Sgabeblack@google.com
63112837Sgabeblack@google.combool
63212837Sgabeblack@google.comsc_end_of_simulation_invoked()
63312837Sgabeblack@google.com{
63412837Sgabeblack@google.com    warn("%s not implemented.\n", __PRETTY_FUNCTION__);
63512837Sgabeblack@google.com    return false;
63612837Sgabeblack@google.com}
63712837Sgabeblack@google.com
63812901Sgabeblack@google.comsc_module *
63912901Sgabeblack@google.comsc_module_sc_new(sc_module *mod)
64012901Sgabeblack@google.com{
64112901Sgabeblack@google.com    static std::vector<std::unique_ptr<sc_module> > modules;
64212901Sgabeblack@google.com    modules.emplace_back(mod);
64312901Sgabeblack@google.com    return mod;
64412901Sgabeblack@google.com}
64512901Sgabeblack@google.com
64612837Sgabeblack@google.com} // namespace sc_core
647