diff options
author | Gabe Black <gabeblack@google.com> | 2018-06-18 19:07:14 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-09-05 05:59:04 +0000 |
commit | 689f08e7e98887dc88a0eb614d5cc1e3bcd86a7a (patch) | |
tree | 3ea5c1d9efeb36390f3890d6b7efc119b58b34b9 | |
parent | 9d7469852d5ef63180a598a3dae63c9b179f1e5d (diff) | |
download | gem5-689f08e7e98887dc88a0eb614d5cc1e3bcd86a7a.tar.xz |
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 <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
-rw-r--r-- | src/systemc/ext/channel/sc_signal.hh | 6 |
1 files changed, 6 insertions, 0 deletions
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<T>, 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<T, WRITER_POLICY> &) : |