summaryrefslogtreecommitdiff
path: root/src/systemc/ext/core/sc_port.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-18 15:14:24 -0700
committerGabe Black <gabeblack@google.com>2018-08-28 21:24:01 +0000
commitc09bc660bef1ff40bc37263f92b1d8c489aa8c7d (patch)
treeae7603caed826359e3fdd34c14b51072b105d686 /src/systemc/ext/core/sc_port.hh
parent4c8cdccaf07dcd689017c3bbd481d237236fc3af (diff)
downloadgem5-c09bc660bef1ff40bc37263f92b1d8c489aa8c7d.tar.xz
systemc: Add bind() to sc_port_base.
sc_port_base is supposed to be implementation defined, but internal details of it are relied on by the systemc tests. Change-Id: I53d84e708a5543a2cf4bd0deffc2efea1c008d97 Reviewed-on: https://gem5-review.googlesource.com/11350 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/core/sc_port.hh')
-rw-r--r--src/systemc/ext/core/sc_port.hh5
1 files changed, 5 insertions, 0 deletions
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>