systemc: Fix a typo/bug in sc_int_base.hh.

When being turned into gem5 coding style, a pair of "!" operators were
dropped, reversing the behavior of the functions involved.

Change-Id: Ife795c22aff953c5ab592e7baa3a5e1c15e63c84
Reviewed-on: https://gem5-review.googlesource.com/c/12591
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
Gabe Black
2018-09-04 23:49:59 -07:00
parent c7c0475549
commit 1b3ff4d6a8

View File

@@ -341,9 +341,9 @@ class sc_int_subref_r : public sc_value_base
bool and_reduce() const;
bool nand_reduce() const { return !and_reduce(); }
bool or_reduce() const;
bool nor_reduce() const { return or_reduce(); }
bool nor_reduce() const { return !or_reduce(); }
bool xor_reduce() const;
bool xnor_reduce() const { return xor_reduce(); }
bool xnor_reduce() const { return !xor_reduce(); }
// implicit conversion to uint_type
operator uint_type () const;