Go to the documentation of this file.
42 #ifndef __CPU_RUBYTEST_RUBYTESTER_HH__
43 #define __CPU_RUBYTEST_RUBYTESTER_HH__
54 #include "params/RubyTester.hh"
83 {
panic(
"%s does not expect a retry\n",
name()); }
107 void init()
override;
117 void print(std::ostream& out)
const;
160 #endif // __CPU_RUBYTEST_RUBYTESTER_HH__
void hitCallback(NodeID proc, SubBlock *data)
CpuPort(const std::string &_name, RubyTester *_tester, PortID _id, PortID _index)
std::ostream & operator<<(std::ostream &out, const RubyTester &obj)
RubyTester(const Params *p)
RequestorID requestorId()
const PortID InvalidPortID
void incrementCheckCompletions()
int m_num_inst_only_ports
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
EventFunctionWrapper checkStartEvent
RequestPort * getWritableCpuPort(int idx)
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
uint64_t m_checks_completed
bool isInstDataCpuPort(int idx)
CheckTable * m_checkTable_ptr
void printConfig(std::ostream &out) const
A virtual base opaque structure used to hold state associated with the packet (e.g....
RequestPort * getReadableCpuPort(int idx)
int m_num_inst_data_ports
void printStats(std::ostream &out) const
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
Ports are used to interface objects to each other.
std::vector< RequestPort * > writePorts
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
bool isInstOnlyCpuPort(int idx)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void print(std::ostream &out) const
const std::string name() const
Return port name (for DPRINTF).
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
uint64_t m_checks_to_complete
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
std::vector< RequestPort * > readPorts
RubyTester & operator=(const RubyTester &obj)
virtual void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
SenderState(Addr addr, int size)
std::vector< Cycles > m_last_progress_vector
#define panic(...)
This implements a cprintf based panic() function.
Generated on Wed Sep 30 2020 14:02:09 for gem5 by doxygen 1.8.17