29 #ifndef __CPU_GARNET_SYNTHETIC_TRAFFIC_HH__ 30 #define __CPU_GARNET_SYNTHETIC_TRAFFIC_HH__ 36 #include "params/GarnetSyntheticTraffic.hh" 57 typedef GarnetSyntheticTrafficParams
Params;
146 #endif // __CPU_GARNET_SYNTHETIC_TRAFFIC_HH__ A MasterPort is a specialisation of a BaseMasterPort, which implements the default protocol for the t...
Ports are used to interface objects to each other.
Cycles is a wrapper class for representing cycle counts, i.e.
GarnetSyntheticTraffic * tester
const PortID InvalidPortID
void completeRequest(PacketPtr pkt)
GarnetSyntheticTraffic(const Params *p)
Declaration of Statistics objects.
GarnetSyntheticTrafficSenderState(uint8_t *_data)
Constructor.
virtual bool recvTimingResp(PacketPtr pkt)
Receive a timing response from the peer.
void sendPkt(PacketPtr pkt)
void printAddr(Addr a)
Print state of address in memory system via PrintReq (for debugging).
uint64_t Tick
Tick count type.
CpuPort(const std::string &_name, GarnetSyntheticTraffic *_tester)
The ClockedObject class extends the SimObject with a clock and accessor functions to relate ticks to ...
ClockedObject declaration and implementation.
GarnetSyntheticTrafficParams Params
std::map< std::string, TrafficType > trafficStringToEnum
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...
A virtual base opaque structure used to hold state associated with the packet (e.g., an MSHR), specific to a SimObject that sees the packet.
friend class MemCompleteEvent
Port & getPort(const std::string &if_name, PortID idx=InvalidPortID) override
Get a port with a given name and index.
virtual void recvReqRetry()
Called by the peer if sendTimingReq was called on this peer (causing recvTimingReq to be called on th...
int16_t PortID
Port index/ID type, and a symbolic name for an invalid port id.
const Cycles responseLimit
void init() override
init() is called after all C++ SimObjects have been created and all ports are connected.
EventFunctionWrapper tickEvent