36 #include "debug/DirectedTest.hh"
40 m_addr_increment_size(p->addr_increment_size),
41 m_percent_writes(p->percent_writes)
43 m_status = SeriesRequestGeneratorStatus_Thinking;
55 DPRINTF(DirectedTest,
"initiating request\n");
56 assert(
m_status == SeriesRequestGeneratorStatus_Thinking);
77 DPRINTF(DirectedTest,
"initiating request - successful\n");
78 m_status = SeriesRequestGeneratorStatus_Request_Pending;
87 DPRINTF(DirectedTest,
"failed to initiate request - sequencer not ready\n");
97 assert(
m_status == SeriesRequestGeneratorStatus_Request_Pending);
99 m_status = SeriesRequestGeneratorStatus_Thinking;
113 SeriesRequestGeneratorParams::create()
A MasterPort is a specialisation of a BaseMasterPort, which implements the default protocol for the t...
SeriesRequestGeneratorStatus m_status
MasterPort * getCpuPort(int idx)
SeriesRequestGenerator(const Params *p)
bool sendTimingReq(PacketPtr pkt)
Attempt to send a timing request to the slave port by calling its corresponding receive function...
std::enable_if< std::is_integral< T >::value, T >::type random()
Use the SFINAE idiom to choose an implementation based on whether the type is integral or floating po...
DirectedGeneratorParams Params
void incrementCycleCompletions()
const RequestPtr req
A pointer to the original request.
void performCallback(uint32_t proc, Addr address)
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...
uint32_t m_addr_increment_size
RubyDirectedTester * m_directed_tester
~SeriesRequestGenerator()
Command
List of all commands associated with a packet.
uint32_t m_percent_writes
void allocate()
Allocate memory for the packet.
ProbePointArg< PacketInfo > Packet
Packet probe point.