Go to the documentation of this file.
29 #ifndef __MEM_PORT_TERMINATOR_HH__
30 #define __MEM_PORT_TERMINATOR_HH__
48 #include "params/PortTerminator.hh"
75 panic(
"Received an unexpected response. RequestPorts on a "
76 "PortTerminator never issue any requests. Therefore, they should "
77 "never receive a response.\n");
118 #endif // __MEM_PORT_TERMINATOR_HH__
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
const std::string name() const
Return port name (for DPRINTF).
PortTerminator(const PortTerminatorParams ¶ms)
std::vector< ReqPort > reqPorts
const PortID InvalidPortID
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
const Params & params() const
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
definition of the ReqPort class.
Abstract superclass for simulation objects.
std::vector< RespPort > respPorts
void recvRangeChange() override
Called to receive an address range change from the peer response port.
A ResponsePort is a specialization of a port.
definition of the RespPort class.
Ports are used to interface objects to each other.
bool recvTimingResp(PacketPtr pkt) override
Receive a timing response from the peer.
ReqPort(const std::string &name, PortTerminator *owner)
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
RespPort(const std::string &name, PortTerminator *owner)
#define panic(...)
This implements a cprintf based panic() function.
void recvReqRetry() override
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
Generated on Tue Feb 8 2022 11:47:11 for gem5 by doxygen 1.8.17