Update memory assertion to check for whole range.
src/mem/physical.cc: Update assertion to check for full range. --HG-- extra : convert_revision : ee815702ba4dd6ae1169c0595c978dd153014c73
This commit is contained in:
parent
8949d813ff
commit
4167c3c026
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ PhysicalMemory::calculateLatency(Packet *pkt)
|
||||||
void
|
void
|
||||||
PhysicalMemory::doFunctionalAccess(Packet *pkt)
|
PhysicalMemory::doFunctionalAccess(Packet *pkt)
|
||||||
{
|
{
|
||||||
assert(pkt->getAddr() + pkt->getSize() < params()->addrRange.size());
|
assert(pkt->getAddr() + pkt->getSize() <= params()->addrRange.size());
|
||||||
|
|
||||||
switch (pkt->cmd) {
|
switch (pkt->cmd) {
|
||||||
case Packet::ReadReq:
|
case Packet::ReadReq:
|
||||||
|
|
Loading…
Reference in a new issue