diff options
Diffstat (limited to 'src/systemc')
-rw-r--r-- | src/systemc/core/sc_port.cc | 12 | ||||
-rw-r--r-- | src/systemc/ext/core/sc_port.hh | 5 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/systemc/core/sc_port.cc b/src/systemc/core/sc_port.cc index 46a295b6e..0f981ea54 100644 --- a/src/systemc/core/sc_port.cc +++ b/src/systemc/core/sc_port.cc @@ -39,4 +39,16 @@ sc_port_base::warn_unimpl(const char *func) const warn("%s not implemented.\n", func); } +void +sc_port_base::bind(sc_interface &) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + +void +sc_port_base::bind(sc_port_base &) +{ + warn("%s not implemented.\n", __PRETTY_FUNCTION__); +} + } // namespace sc_core diff --git a/src/systemc/ext/core/sc_port.hh b/src/systemc/ext/core/sc_port.hh index dfcae95da..6f7c67655 100644 --- a/src/systemc/ext/core/sc_port.hh +++ b/src/systemc/ext/core/sc_port.hh @@ -52,6 +52,11 @@ class sc_port_base : public sc_object {} void warn_unimpl(const char *func) const; + + protected: + // Implementation defined, but depended on by the tests. + void bind(sc_interface &); + void bind(sc_port_base &); }; template <class IF> |