Gabe Black has submitted this change and it was merged. ( https://gem5-review.googlesource.com/c/public/gem5/+/10955 )

Change subject: systemc: Add the deprecated sc_signal_out_if typedef.
......................................................................

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 <[email protected]>
Maintainer: Gabe Black <[email protected]>
---
M src/systemc/ext/channel/_using.hh
M src/systemc/ext/channel/sc_signal_inout_if.hh
2 files changed, 5 insertions(+), 0 deletions(-)

Approvals:
  Gabe Black: Looks good to me, approved; Looks good to me, approved



diff --git a/src/systemc/ext/channel/_using.hh b/src/systemc/ext/channel/_using.hh
index 58269d5..089991f 100644
--- a/src/systemc/ext/channel/_using.hh
+++ b/src/systemc/ext/channel/_using.hh
@@ -87,6 +87,7 @@
 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 c39c4a5..b272162 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 @@
     }
 };

+// 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__

--
To view, visit https://gem5-review.googlesource.com/c/public/gem5/+/10955
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-Change-Id: I5666cf9ad445869e74edda857afd59ab7ece4f4c
Gerrit-Change-Number: 10955
Gerrit-PatchSet: 7
Gerrit-Owner: Gabe Black <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Gabe Black <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Matthias Jung <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to