Go to the documentation of this file.
30 #ifndef __CPU_DIRECTEDTEST_RUBYDIRECTEDTESTER_HH__
31 #define __CPU_DIRECTEDTEST_RUBYDIRECTEDTESTER_HH__
42 #include "params/RubyDirectedTester.hh"
64 {
panic(
"%s does not expect a retry\n",
name()); }
67 typedef RubyDirectedTesterParams
Params;
86 void print(std::ostream& out)
const;
106 #endif // __CPU_DIRECTEDTEST_RUBYDIRECTEDTESTER_HH__
uint64_t m_requests_to_complete
DirectedGenerator * generator
const PortID InvalidPortID
uint64_t m_requests_completed
void print(std::ostream &out) const
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
void printConfig(std::ostream &out) const
std::vector< RequestPort * > ports
CpuPort(const std::string &_name, RubyDirectedTester *_tester, PortID _id)
RubyDirectedTester(const Params *p)
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
RubyDirectedTesterParams Params
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
EventFunctionWrapper directedStartEvent
Ports are used to interface objects to each other.
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
const std::string name() const
Return port name (for DPRINTF).
RequestPort * getCpuPort(int idx)
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
void hitCallback(NodeID proc, Addr addr)
RubyDirectedTester * tester
virtual void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
RubyDirectedTester & operator=(const RubyDirectedTester &obj)
#define panic(...)
This implements a cprintf based panic() function.
void incrementCycleCompletions()
void printStats(std::ostream &out) const
Generated on Wed Sep 30 2020 14:02:09 for gem5 by doxygen 1.8.17