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:
parent
9947923c60
commit
f69d431ede
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ class AddrRange
|
||||||
// no interleaving, or with interleaving also if the selected
|
// no interleaving, or with interleaving also if the selected
|
||||||
// bits from the address match the interleaving value
|
// bits from the address match the interleaving value
|
||||||
return a >= _start && a <= _end &&
|
return a >= _start && a <= _end &&
|
||||||
(interleaved() ||
|
(!interleaved() ||
|
||||||
(bits(a, intlvHighBit, intlvHighBit - intlvBits + 1) ==
|
(bits(a, intlvHighBit, intlvHighBit - intlvBits + 1) ==
|
||||||
intlvMatch));
|
intlvMatch));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue