diff options
author | Andreas Hansson <andreas.hansson@arm.com> | 2013-02-19 05:56:05 -0500 |
---|---|---|
committer | Andreas Hansson <andreas.hansson@arm.com> | 2013-02-19 05:56:05 -0500 |
commit | f69d431ede9b815ea4b63a2d20237ed3e79df169 (patch) | |
tree | 55b3c3fe4e9c839d1f4300993af31aff7248b606 /src | |
parent | 9947923c605bdbd864aebaa47e6a062390288652 (diff) | |
download | gem5-f69d431ede9b815ea4b63a2d20237ed3e79df169.tar.xz |
base: Fix a bug in the address interleaving
This patch fixes a minor (but important) typo in the matching of an
address to an interleaved range.
Diffstat (limited to 'src')
-rw-r--r-- | src/base/addr_range.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/addr_range.hh b/src/base/addr_range.hh index 546d81611..368a96401 100644 --- a/src/base/addr_range.hh +++ b/src/base/addr_range.hh @@ -259,7 +259,7 @@ class AddrRange // no interleaving, or with interleaving also if the selected // bits from the address match the interleaving value return a >= _start && a <= _end && - (interleaved() || + (!interleaved() || (bits(a, intlvHighBit, intlvHighBit - intlvBits + 1) == intlvMatch)); } |