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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user