41#ifndef __MEM_TPORT_HH__
42#define __MEM_TPORT_HH__
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
const std::string name() const
Return port name (for DPRINTF).
A queued port is a port that has an infinite queue for outgoing packets and thus decouples the module...
Abstract superclass for simulation objects.
The simple timing port uses a queued port to implement recvFunctional and recvTimingReq through recvA...
SimpleTimingPort(const std::string &name, SimObject *owner)
Create a new SimpleTimingPort that relies on a packet queue to hold responses, and implements recvTim...
void recvFunctional(PacketPtr pkt)
Implemented using recvAtomic().
std::unique_ptr< Packet > pendingDelete
Upstream caches need this packet until true is returned, so hold it for deletion until a subsequent c...
virtual Tick recvAtomic(PacketPtr pkt)=0
Receive an atomic request packet from the peer.
virtual ~SimpleTimingPort()
bool recvTimingReq(PacketPtr pkt)
Implemented using recvAtomic().
RespPacketQueue queueImpl
The packet queue used to store outgoing responses.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Tick
Tick count type.
Declaration of the queued port.