summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/systemc/ext/core/sc_port.hh18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/systemc/ext/core/sc_port.hh b/src/systemc/ext/core/sc_port.hh
index 6f7c67655..262ca382b 100644
--- a/src/systemc/ext/core/sc_port.hh
+++ b/src/systemc/ext/core/sc_port.hh
@@ -57,6 +57,10 @@ class sc_port_base : public sc_object
// Implementation defined, but depended on by the tests.
void bind(sc_interface &);
void bind(sc_port_base &);
+
+ // Implementation defined, but depended on by the tests.
+ virtual int vbind(sc_interface &) = 0;
+ virtual int vbind(sc_port_base &) = 0;
};
template <class IF>
@@ -150,6 +154,20 @@ class sc_port_b : public sc_port_base
{}
virtual ~sc_port_b() {}
+ // Implementation defined, but depended on by the tests.
+ int
+ vbind(sc_interface &)
+ {
+ this->warn_unimpl(__PRETTY_FUNCTION__);
+ return 0;
+ }
+ int
+ vbind(sc_port_base &)
+ {
+ this->warn_unimpl(__PRETTY_FUNCTION__);
+ return 0;
+ }
+
private:
// Disabled
sc_port_b() {}