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.
This commit is contained in:
Andreas Hansson 2013-02-19 05:56:05 -05:00
parent 9947923c60
commit f69d431ede

View file

@ -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));
}