40#include "debug/TrafficGen.hh"
51 "terminate the simulation.\n",
name());
53 "terminate the simulation.\n");
59 panic(
"Simulation should have exited");
std::string name() const
Get the name, useful for DPRINTFs.
Tick nextPacketTick(bool elastic, Tick delay) const
Determine the tick when the next packet is available.
void enter()
Enter this generator state.
PacketPtr getNextPacket()
Get the next generated packet.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
The traffic generator is a module that generates stimuli for the memory system, based on a collection...
Declaration of the exit generator that ends the simulation.
#define panic(...)
This implements a cprintf based panic() function.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
uint64_t Tick
Tick count type.
void exitSimLoop(const std::string &message, int exit_code, Tick when, Tick repeat, bool serialize)
Schedule an event to exit the simulation loop (returning to Python) at the end of the current cycle (...