Deleted Added
sdiff udiff text old ( 13283:362061d5b968 ) new ( 13290:1e720f971554 )
full compact
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

--- 13 unchanged lines hidden (view full) ---

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/core/module.hh"
32#include "systemc/core/port.hh"
33#include "systemc/core/scheduler.hh"
34#include "systemc/ext/core/sc_main.hh"
35#include "systemc/ext/core/sc_port.hh"
36
37namespace sc_core

--- 45 unchanged lines hidden (view full) ---

83}
84
85void
86sc_port_base::warn_unimpl(const char *func) const
87{
88 warn("%s not implemented.\n", func);
89}
90
91int sc_port_base::maxSize() const { return _gem5Port->maxSize(); }
92int sc_port_base::size() const { return _gem5Port->size(); }
93
94void sc_port_base::bind(sc_interface &i) { _gem5Port->bind(&i); }
95void sc_port_base::bind(sc_port_base &p) { _gem5Port->bind(&p); }
96
97} // namespace sc_core