summaryrefslogtreecommitdiff
path: root/src/systemc/ext/channel/sc_fifo_out.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-07 18:23:41 -0700
committerGabe Black <gabeblack@google.com>2018-08-15 01:30:50 +0000
commit411f9077dc914c76b37104acd209a7944cbf037a (patch)
tree8890441a8498dde3a11e77d379cda0032035dc4b /src/systemc/ext/channel/sc_fifo_out.hh
parent9a457d97b543c5e1c03cf40b78ca4c53bf902642 (diff)
downloadgem5-411f9077dc914c76b37104acd209a7944cbf037a.tar.xz
systemc: Add in the deprecated binding port constructors.
These are needed by... you guessed it, the regression tests. Change-Id: Id30e71944cc7f3faca7dcb197f37938368364fcd Reviewed-on: https://gem5-review.googlesource.com/10958 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/ext/channel/sc_fifo_out.hh')
-rw-r--r--src/systemc/ext/channel/sc_fifo_out.hh20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/systemc/ext/channel/sc_fifo_out.hh b/src/systemc/ext/channel/sc_fifo_out.hh
index 4beb15d37..af2f6efe5 100644
--- a/src/systemc/ext/channel/sc_fifo_out.hh
+++ b/src/systemc/ext/channel/sc_fifo_out.hh
@@ -50,6 +50,26 @@ class sc_fifo_out : public sc_port<sc_fifo_out_if<T>, 0>
{}
virtual ~sc_fifo_out() {}
+ // Deprecated binding constructors.
+ explicit sc_fifo_out(const sc_fifo_out_if<T> &interface) :
+ sc_port<sc_fifo_out_if<T>, 0>(interface)
+ {}
+ sc_fifo_out(const char *name, const sc_fifo_out_if<T> &interface) :
+ sc_port<sc_fifo_out_if<T>, 0>(name, interface)
+ {}
+ explicit sc_fifo_out(sc_port_b<sc_fifo_out_if<T> > &parent) :
+ sc_port<sc_fifo_out_if<T>, 0>(parent)
+ {}
+ sc_fifo_out(const char *name, sc_port_b<sc_fifo_out_if<T> > &parent) :
+ sc_port<sc_fifo_out_if<T>, 0>(name, parent)
+ {}
+ explicit sc_fifo_out(sc_port<sc_fifo_out_if<T>, 0> &parent) :
+ sc_port<sc_fifo_out_if<T>, 0>(parent)
+ {}
+ sc_fifo_out(const char *name, sc_port<sc_fifo_out_if<T>, 0> &parent) :
+ sc_port<sc_fifo_out_if<T>, 0>(name, parent)
+ {}
+
void
write(const T &)
{