From: Gabe Black Date: Tue, 19 Jun 2018 02:07:14 +0000 (-0700) Subject: systemc: Add m_cur_val and m_new_val to sc_signal. X-Git-Tag: v19.0.0.0~1874 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=689f08e7e98887dc88a0eb614d5cc1e3bcd86a7a;p=gem5.git systemc: Add m_cur_val and m_new_val to sc_signal. These members are referred to in one of the tests. Change-Id: Iab0110a0e3acf627986664069622704f17b703a1 Reviewed-on: https://gem5-review.googlesource.com/11355 Reviewed-by: Gabe Black Maintainer: Gabe Black --- diff --git a/src/systemc/ext/channel/sc_signal.hh b/src/systemc/ext/channel/sc_signal.hh index b41af56bb..5da411660 100644 --- a/src/systemc/ext/channel/sc_signal.hh +++ b/src/systemc/ext/channel/sc_signal.hh @@ -158,6 +158,12 @@ class sc_signal : public sc_signal_inout_if, sc_channel_warn_unimpl(__PRETTY_FUNCTION__); } + // These members which store the current and future value of the signal + // are not specified in the standard but are referred to directly by one + // of the tests. + T m_cur_val; + T m_new_val; + private: // Disabled sc_signal(const sc_signal &) :