Go to the documentation of this file.
34 #ifndef CPU_TESTERS_PROTOCOL_TESTER_PROTOCOL_TESTER_HH_
35 #define CPU_TESTERS_PROTOCOL_TESTER_PROTOCOL_TESTER_HH_
62 #include "params/ProtocolTester.hh"
82 {
panic(
"%s does not expect a retry\n",
name()); }
120 void init()
override;
RequestorID requestorId()
const PortID InvalidPortID
std::vector< RequestPort * > cuSqcPorts
bool checkDRF(Location atomic_loc, Location loc, bool isStore) const
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
std::vector< CpuThread * > cpuThreads
std::vector< RequestPort * > cuScalarPorts
SenderState(TesterThread *_th)
std::vector< GMTokenPort * > cuTokenPorts
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
A virtual base opaque structure used to hold state associated with the packet (e.g....
AddressManager * addrManager
AddressManager * getAddressManager() const
SeqPort(const std::string &_name, ProtocolTester *_tester, PortID _id, PortID _index)
Ports are used to interface objects to each other.
std::vector< TokenManager * > cuTokenManagers
AddressManager::Location Location
AddressManager::Value Value
std::vector< GpuWavefront * > wfs
const PortID id
A numeric identifier to distinguish ports in a vector, and set to InvalidPortID in case this port is ...
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
const std::string name() const
Return port name (for DPRINTF).
ProtocolTester(const Params &p)
void dumpErrorLog(std::stringstream &ss)
void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
int getEpisodeLength() const
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
ProtocolTesterParams Params
int numNormalLocsPerAtomic
std::vector< RequestPort * > dmaPorts
GMTokenPort(const std::string &name, ProtocolTester *_tester, PortID id=InvalidPortID)
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
std::vector< RequestPort * > cpuPorts
bool recvTimingResp(PacketPtr)
Receive a timing response from the peer.
std::vector< DmaThread * > dmaThreads
std::vector< RequestPort * > cuVectorPorts
#define panic(...)
This implements a cprintf based panic() function.
virtual void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
Generated on Tue Mar 23 2021 19:41:25 for gem5 by doxygen 1.8.17