45 #ifndef __CPU_MEMTEST_MEMTEST_HH__
46 #define __CPU_MEMTEST_MEMTEST_HH__
49 #include <unordered_map>
53 #include "params/MemTest.hh"
190 #endif // __CPU_MEMTEST_MEMTEST_HH__
A MasterPort is a specialisation of a BaseMasterPort, which implements the default protocol for the t...
EventWrapper< MemTest,&MemTest::tick > tickEvent
bool sendPkt(PacketPtr pkt)
Cycles is a wrapper class for representing cycle counts, i.e.
virtual BaseMasterPort & getMasterPort(const std::string &if_name, PortID idx=InvalidPortID)
Get a master port with a given name and index.
const PortID InvalidPortID
const unsigned percentFunctional
void recvReqRetry()
Called by the slave port if sendTimingReq was called on this master port (causing recvTimingReq to be...
const unsigned progressInterval
std::unordered_map< Addr, uint8_t > referenceData
EventWrapper< MemTest,&MemTest::noResponse > noResponseEvent
Declaration of Statistics objects.
This is a simple scalar statistic, like a counter.
Addr blockAlign(Addr addr) const
Get the block aligned address.
MasterID masterId
Request id for all generated traffic.
uint64_t Tick
Tick count type.
The MemTest class tests a cache coherent memory system by generating false sharing and verifying the ...
EventWrapper< MemTest,&MemTest::noRequest > noRequestEvent
bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the slave port.
void recvFunctionalSnoop(PacketPtr pkt)
Receive a functional snoop request packet from the slave port.
CpuPort(const std::string &_name, MemTest &_memtest)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
A Packet is used to encapsulate a transfer between two objects in the memory system (e...
Stats::Scalar numReadsStat
std::set< Addr > outstandingAddrs
const unsigned percentUncacheable
const bool suppressFuncWarnings
const Cycles progressCheck
The MemObject class extends the ClockedObject with accessor functions to get its master and slave por...
A BaseMasterPort is a protocol-agnostic master port, responsible only for the structural connection t...
void recvTimingSnoopReq(PacketPtr pkt)
Receive a timing snoop request from the slave port.
const unsigned percentReads
virtual void regStats()
Register statistics for this object.
Stats::Scalar numWritesStat
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
void completeRequest(PacketPtr pkt, bool functional=false)
Complete a request by checking the response.
Tick recvAtomicSnoop(PacketPtr pkt)
Receive an atomic snoop request packet from the slave port.