36#include "debug/DirectedTest.hh"
43 m_addr_increment_size(
p.addr_increment_size),
44 m_percent_writes(
p.percent_writes)
46 m_status = ruby::SeriesRequestGeneratorStatus_Thinking;
58 DPRINTF(DirectedTest,
"initiating request\n");
59 assert(
m_status == ruby::SeriesRequestGeneratorStatus_Thinking);
81 DPRINTF(DirectedTest,
"initiating request - successful\n");
82 m_status = ruby::SeriesRequestGeneratorStatus_Request_Pending;
90 DPRINTF(DirectedTest,
"failed to initiate request - sequencer not ready\n");
100 assert(
m_status == ruby::SeriesRequestGeneratorStatus_Request_Pending);
102 m_status = ruby::SeriesRequestGeneratorStatus_Thinking;
RubyDirectedTester * m_directed_tester
Command
List of all commands associated with a packet.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
void allocate()
Allocate memory for the packet.
A RequestPort is a specialisation of a Port, which implements the default protocol for the three diff...
bool sendTimingReq(PacketPtr pkt)
Attempt to send a timing request to the responder port by calling its corresponding receive function.
RequestPort * getCpuPort(int idx)
void incrementCycleCompletions()
ruby::SeriesRequestGeneratorStatus m_status
uint32_t m_addr_increment_size
void performCallback(uint32_t proc, Addr address)
~SeriesRequestGenerator()
SeriesRequestGeneratorParams Params
SeriesRequestGenerator(const Params &p)
uint32_t m_percent_writes
std::enable_if_t< std::is_integral_v< T >, T > random()
Use the SFINAE idiom to choose an implementation based on whether the type is integral or floating po...
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::shared_ptr< Request > RequestPtr
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.