summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/systemc/core/bindinfo.hh9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/systemc/core/bindinfo.hh b/src/systemc/core/bindinfo.hh
index 332fb1330..9e636a696 100644
--- a/src/systemc/core/bindinfo.hh
+++ b/src/systemc/core/bindinfo.hh
@@ -38,7 +38,16 @@ namespace sc_gem5
class BindInfo
{
public:
+ BindInfo(::sc_core::sc_interface *interface) :
+ interface(interface), port(nullptr)
+ {}
+
+ BindInfo(::sc_core::sc_port_base *port) :
+ interface(nullptr), port(port)
+ {}
+
::sc_core::sc_interface *interface;
+ ::sc_core::sc_port_base *port;
};
} // namespace sc_gem5