diff options
Diffstat (limited to 'src/mem/ruby/system')
-rw-r--r-- | src/mem/ruby/system/RubyPort.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mem/ruby/system/RubyPort.cc b/src/mem/ruby/system/RubyPort.cc index ea1ff04f0..b3225cdca 100644 --- a/src/mem/ruby/system/RubyPort.cc +++ b/src/mem/ruby/system/RubyPort.cc @@ -226,6 +226,9 @@ RubyPort::M5Port::recvTiming(PacketPtr pkt) pkt->getSize(), pc, type, RubyAccessMode_Supervisor, pkt); + assert(Address(ruby_request.paddr).getOffset() + ruby_request.len <= + RubySystem::getBlockSizeBytes()); + // Submit the ruby request RequestStatus requestStatus = ruby_port->makeRequest(ruby_request); @@ -237,7 +240,7 @@ RubyPort::M5Port::recvTiming(PacketPtr pkt) } DPRINTF(MemoryAccess, - "Request for address #x did not issue because %s\n", + "Request for address %#x did not issue because %s\n", pkt->getAddr(), RequestStatus_to_string(requestStatus)); SenderState* senderState = safe_cast<SenderState*>(pkt->senderState); |