From 689f08e7e98887dc88a0eb614d5cc1e3bcd86a7a Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 18 Jun 2018 19:07:14 -0700 Subject: 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 --- src/systemc/ext/channel/sc_signal.hh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/systemc/ext/channel/sc_signal.hh') 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 &) : -- cgit v1.2.3