summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-06-06 22:58:08 -0700
committerGabe Black <gabeblack@google.com>2018-08-15 01:28:31 +0000
commit0693577c7f32b6de7c55c4aa2d4a086a85f3bf15 (patch)
tree65b062a8bfcea6d47fce2c9cf80dfac32b8d280f
parent337b60a0fc825140c9fddc32972d21a092197be8 (diff)
downloadgem5-0693577c7f32b6de7c55c4aa2d4a086a85f3bf15.tar.xz
systemc: Add the deprecated sc_signal_out_if typedef.
This is needed by the regression tests. Change-Id: I5666cf9ad445869e74edda857afd59ab7ece4f4c Reviewed-on: https://gem5-review.googlesource.com/10955 Reviewed-by: Gabe Black <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
-rw-r--r--src/systemc/ext/channel/_using.hh1
-rw-r--r--src/systemc/ext/channel/sc_signal_inout_if.hh4
2 files changed, 5 insertions, 0 deletions
diff --git a/src/systemc/ext/channel/_using.hh b/src/systemc/ext/channel/_using.hh
index 58269d565..089991faa 100644
--- a/src/systemc/ext/channel/_using.hh
+++ b/src/systemc/ext/channel/_using.hh
@@ -87,6 +87,7 @@ using sc_core::SC_ONE_WRITER;
using sc_core::SC_MANY_WRITERS;
using sc_core::sc_signal_write_if;
using sc_core::sc_signal_inout_if;
+using sc_core::sc_signal_out_if;
using sc_core::sc_signal_resolved;
diff --git a/src/systemc/ext/channel/sc_signal_inout_if.hh b/src/systemc/ext/channel/sc_signal_inout_if.hh
index c39c4a501..b27216254 100644
--- a/src/systemc/ext/channel/sc_signal_inout_if.hh
+++ b/src/systemc/ext/channel/sc_signal_inout_if.hh
@@ -85,6 +85,10 @@ class sc_signal_inout_if : public sc_signal_in_if<T>,
}
};
+// Deprecated.
+template <class T>
+using sc_signal_out_if = sc_signal_inout_if<T>;
+
} // namespace sc_core
#endif //__SYSTEMC_EXT_CHANNEL_SC_SIGNAL_INOUT_IF_HH__