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