46 #ifndef __MEM_NONCOHERENT_XBAR_HH__ 47 #define __MEM_NONCOHERENT_XBAR_HH__ 50 #include "params/NoncoherentXBar.hh" 187 #endif //__MEM_NONCOHERENT_XBAR_HH__ A MasterPort is a specialisation of a BaseMasterPort, which implements the default protocol for the t...
void recvReqRetry() override
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
bool recvTimingReq(PacketPtr pkt) override
Receive a timing request from the peer.
void recvRangeChange() override
Called to receive an address range change from the peer slave port.
Declaration of the non-coherent crossbar slave port type, one will be instantiated for each of the ma...
RespPacketQueue queue
A normal packet queue used to store responses.
virtual bool recvTimingResp(PacketPtr pkt, PortID master_port_id)
std::vector< ReqLayer * > reqLayers
Declare the layers of this crossbar, one vector for requests and one for responses.
std::vector< RespLayer * > respLayers
AddrRangeList getAddrRanges() const
Return the address ranges the crossbar is responsible for.
A queued port is a port that has an infinite queue for outgoing packets and thus decouples the module...
Tick recvAtomicBackdoor(PacketPtr pkt, MemBackdoorPtr &backdoor) override
Receive an atomic request packet from the peer, and optionally provide a backdoor to the data being a...
NoncoherentXBar(const NoncoherentXBarParams *p)
virtual bool recvTimingReq(PacketPtr pkt, PortID slave_port_id)
NoncoherentXBar & xbar
A reference to the crossbar to which this port belongs.
The base crossbar contains the common elements of the non-coherent and coherent crossbar.
void recvFunctional(PacketPtr pkt, PortID slave_port_id)
Tick recvAtomic(PacketPtr pkt) override
Receive an atomic request packet from the peer.
bool recvTimingResp(PacketPtr pkt) override
Receive a timing response from the peer.
AddrRangeList getAddrRanges() const override
Get a list of the non-overlapping address ranges the owner is responsible for.
void recvReqRetry(PortID master_port_id)
NoncoherentXBarSlavePort(const std::string &_name, NoncoherentXBar &_xbar, PortID _id)
uint64_t Tick
Tick count type.
NoncoherentXBar & xbar
A reference to the crossbar to which this port belongs.
virtual ~NoncoherentXBar()
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
A non-coherent crossbar connects a number of non-snooping masters and slaves, and routes the request ...
NoncoherentXBarMasterPort(const std::string &_name, NoncoherentXBar &_xbar, PortID _id)
Declaration of the crossbar master port type, one will be instantiated for each of the slave ports co...
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
Tick recvAtomicBackdoor(PacketPtr pkt, PortID slave_port_id, MemBackdoorPtr *backdoor=nullptr)
void recvFunctional(PacketPtr pkt) override
Receive a functional request packet from the peer.
Declaration of an abstract crossbar base class.
virtual void recvRangeChange(PortID master_port_id)
Function called by the port when the crossbar is recieving a range change.