From 411f9077dc914c76b37104acd209a7944cbf037a Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 7 Jun 2018 18:23:41 -0700 Subject: 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 Maintainer: Gabe Black --- src/systemc/ext/channel/sc_fifo_in.hh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'src/systemc/ext/channel/sc_fifo_in.hh') diff --git a/src/systemc/ext/channel/sc_fifo_in.hh b/src/systemc/ext/channel/sc_fifo_in.hh index 7f593c16f..0952d77d1 100644 --- a/src/systemc/ext/channel/sc_fifo_in.hh +++ b/src/systemc/ext/channel/sc_fifo_in.hh @@ -49,6 +49,26 @@ class sc_fifo_in : public sc_port, 0> {} virtual ~sc_fifo_in() {} + // Deprecated binding constructors. + explicit sc_fifo_in(const sc_fifo_in_if &interface) : + sc_port, 0>(interface) + {} + sc_fifo_in(const char *name, const sc_fifo_in_if &interface) : + sc_port, 0>(name, interface) + {} + explicit sc_fifo_in(sc_port_b > &parent) : + sc_port, 0>(parent) + {} + sc_fifo_in(const char *name, sc_port_b > &parent) : + sc_port, 0>(name, parent) + {} + explicit sc_fifo_in(sc_port, 0> &parent) : + sc_port, 0>(parent) + {} + sc_fifo_in(const char *name, sc_port, 0> &parent) : + sc_port, 0>(name, parent) + {} + void read(T &) { -- cgit v1.2.3