systemc: Add the deprecated sc_signal_out_if typedef.
authorGabe Black <gabeblack@google.com>
Thu, 7 Jun 2018 05:58:08 +0000 (22:58 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 15 Aug 2018 01:28:31 +0000 (01:28 +0000)
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>

src/systemc/ext/channel/_using.hh
src/systemc/ext/channel/sc_signal_inout_if.hh

index 58269d5652413bbae5227d7702ed21ce5e8ce545..089991faad6a8c5a838fa97afab554a454841c04 100644 (file)
@@ -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;
 
index c39c4a501a693ba7be13e79604a57019ccef68b8..b272162545abf80f89c0b736ed5bdd3a112b9e4b 100644 (file)
@@ -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__