diff --git a/src/base/addr_range.hh b/src/base/addr_range.hh index 368a96401..1620a00d3 100644 --- a/src/base/addr_range.hh +++ b/src/base/addr_range.hh @@ -140,7 +140,10 @@ class AddrRange * * @return The size of the regions created by the interleaving bits */ - uint64_t granularity() const { return ULL(1) << intlvHighBit; } + uint64_t granularity() const + { + return ULL(1) << (intlvHighBit - intlvBits); + } /** * Determine the number of interleaved address stripes this range