summaryrefslogtreecommitdiff
path: root/src/systemc/ext/channel/sc_inout.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/systemc/ext/channel/sc_inout.hh')
-rw-r--r--src/systemc/ext/channel/sc_inout.hh65
1 files changed, 65 insertions, 0 deletions
diff --git a/src/systemc/ext/channel/sc_inout.hh b/src/systemc/ext/channel/sc_inout.hh
index 1802b2e8d..c183e0fff 100644
--- a/src/systemc/ext/channel/sc_inout.hh
+++ b/src/systemc/ext/channel/sc_inout.hh
@@ -60,6 +60,26 @@ class sc_inout : public sc_port<sc_signal_inout_if<T>, 1>
{}
virtual ~sc_inout() {}
+ // Deprecated binding constructors.
+ explicit sc_inout(const sc_signal_inout_if<T> &interface) :
+ sc_port<sc_signal_inout_if<T>, 1>(interface)
+ {}
+ sc_inout(const char *name, const sc_signal_inout_if<T> &interface) :
+ sc_port<sc_signal_inout_if<T>, 1>(name, interface)
+ {}
+ explicit sc_inout(sc_port_b<sc_signal_inout_if<T> > &parent) :
+ sc_port<sc_signal_inout_if<T>, 1>(parent)
+ {}
+ sc_inout(const char *name, sc_port_b<sc_signal_inout_if<T> > &parent) :
+ sc_port<sc_signal_inout_if<T>, 1>(name, parent)
+ {}
+ explicit sc_inout(sc_port<sc_signal_inout_if<T>, 1> &parent) :
+ sc_port<sc_signal_inout_if<T>, 1>(parent)
+ {}
+ sc_inout(const char *name, sc_port<sc_signal_inout_if<T>, 1> &parent) :
+ sc_port<sc_signal_inout_if<T>, 1>(name, parent)
+ {}
+
void
initialize(const T &)
{
@@ -170,6 +190,26 @@ class sc_inout<bool> : public sc_port<sc_signal_inout_if<bool>, 1>
{}
virtual ~sc_inout() {}
+ // Deprecated binding constructors.
+ explicit sc_inout(const sc_signal_inout_if<bool> &interface) :
+ sc_port<sc_signal_inout_if<bool>, 1>(interface)
+ {}
+ sc_inout(const char *name, const sc_signal_inout_if<bool> &interface) :
+ sc_port<sc_signal_inout_if<bool>, 1>(name, interface)
+ {}
+ explicit sc_inout(sc_port_b<sc_signal_inout_if<bool> > &parent) :
+ sc_port<sc_signal_inout_if<bool>, 1>(parent)
+ {}
+ sc_inout(const char *name, sc_port_b<sc_signal_inout_if<bool> > &parent) :
+ sc_port<sc_signal_inout_if<bool>, 1>(name, parent)
+ {}
+ explicit sc_inout(sc_port<sc_signal_inout_if<bool>, 1> &parent) :
+ sc_port<sc_signal_inout_if<bool>, 1>(parent)
+ {}
+ sc_inout(const char *name, sc_port<sc_signal_inout_if<bool>, 1> &parent) :
+ sc_port<sc_signal_inout_if<bool>, 1>(name, parent)
+ {}
+
void
initialize(const bool &)
{
@@ -320,6 +360,31 @@ class sc_inout<sc_dt::sc_logic> :
{}
virtual ~sc_inout() {}
+ // Deprecated binding constructors.
+ explicit sc_inout(const sc_signal_inout_if<sc_dt::sc_logic> &interface) :
+ sc_port<sc_signal_inout_if<sc_dt::sc_logic>, 1>(interface)
+ {}
+ sc_inout(const char *name,
+ const sc_signal_inout_if<sc_dt::sc_logic> &interface) :
+ sc_port<sc_signal_inout_if<sc_dt::sc_logic>, 1>(name, interface)
+ {}
+ explicit sc_inout(
+ sc_port_b<sc_signal_inout_if<sc_dt::sc_logic> > &parent) :
+ sc_port<sc_signal_inout_if<sc_dt::sc_logic>, 1>(parent)
+ {}
+ sc_inout(const char *name,
+ sc_port_b<sc_signal_inout_if<sc_dt::sc_logic> > &parent) :
+ sc_port<sc_signal_inout_if<sc_dt::sc_logic>, 1>(name, parent)
+ {}
+ explicit sc_inout(
+ sc_port<sc_signal_inout_if<sc_dt::sc_logic>, 1> &parent) :
+ sc_port<sc_signal_inout_if<sc_dt::sc_logic>, 1>(parent)
+ {}
+ sc_inout(const char *name,
+ sc_port<sc_signal_inout_if<sc_dt::sc_logic>, 1> &parent) :
+ sc_port<sc_signal_inout_if<sc_dt::sc_logic>, 1>(name, parent)
+ {}
+
void
initialize(const sc_dt::sc_logic &)
{