38#ifndef __MEM_QPORT_HH__
39#define __MEM_QPORT_HH__
100 {
return respQueue.trySatisfyFunctional(pkt); }
151 {
reqQueue.schedSendTiming(pkt, when); }
166 return reqQueue.trySatisfyFunctional(pkt) ||
const std::string name() const
Return port name (for DPRINTF).
QueuedRequestPort(const std::string &name, ReqPacketQueue &req_queue, SnoopRespPacketQueue &snoop_resp_queue, PortID id=InvalidPortID)
Create a QueuedPort with a given name, and a supplied implementation of two packet queues.
void schedTimingReq(PacketPtr pkt, Tick when)
Schedule the sending of a timing request.
virtual ~QueuedRequestPort()
void schedTimingSnoopResp(PacketPtr pkt, Tick when)
Schedule the sending of a timing snoop response.
bool trySatisfyFunctional(PacketPtr pkt)
Check the list of buffered packets against the supplied functional request.
void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
void recvRetrySnoopResp()
Called by the peer if sendTimingSnoopResp was called on this protocol (causing recvTimingSnoopResp to...
ReqPacketQueue & reqQueue
Packet queue used to store outgoing requests.
SnoopRespPacketQueue & snoopRespQueue
Packet queue used to store outgoing snoop responses.
void recvRespRetry()
Called by the peer if sendTimingResp was called on this protocol (causing recvTimingResp to be called...
RespPacketQueue & respQueue
Packet queue used to store outgoing responses.
bool trySatisfyFunctional(PacketPtr pkt)
Check the list of buffered packets against the supplied functional request.
QueuedResponsePort(const std::string &name, RespPacketQueue &resp_queue, PortID id=InvalidPortID)
Create a QueuedPort with a given name, owner, and a supplied implementation of a packet queue.
virtual ~QueuedResponsePort()
void schedTimingResp(PacketPtr pkt, Tick when)
Schedule the sending of a timing response.
RequestPort(const std::string &name, SimObject *_owner, PortID id=InvalidPortID)
Request port.
ResponsePort(const std::string &name, SimObject *_owner, PortID id=InvalidPortID)
Response port.
Copyright (c) 2024 Arm Limited All rights reserved.
const PortID InvalidPortID
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
uint64_t Tick
Tick count type.
Declaration of a simple PacketQueue that is associated with a port on which it attempts to send packe...