summaryrefslogtreecommitdiff
path: root/src/systemc/ext/core/sc_port.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/ext/core/sc_port.hh')
-rw-r--r--src/systemc/ext/core/sc_port.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/systemc/ext/core/sc_port.hh b/src/systemc/ext/core/sc_port.hh
index f9e50da2e..b39235960 100644
--- a/src/systemc/ext/core/sc_port.hh
+++ b/src/systemc/ext/core/sc_port.hh
@@ -40,6 +40,7 @@ namespace sc_gem5
{
class BindInfo;
+class Module;
class PendingSensitivityPort;
};
@@ -71,6 +72,8 @@ class sc_port_base : public sc_object
void bind(sc_interface &);
void bind(sc_port_base &);
+ friend class ::sc_gem5::Module;
+
// Implementation defined, but depended on by the tests.
virtual int vbind(sc_interface &) = 0;
virtual int vbind(sc_port_base &) = 0;