44#ifndef __CPU_TRAFFIC_GEN_STRIDED_GEN_HH__
45#define __CPU_TRAFFIC_GEN_STRIDED_GEN_HH__
91 Addr _blocksize,
Addr cacheline_size,
92 Addr stride_size,
int gen_id,
94 uint8_t read_percent,
Addr data_limit)
95 :
StochasticGen(obj, requestor_id, _duration, start_addr, end_addr,
96 _blocksize, cacheline_size, min_period, max_period,
97 read_percent, data_limit),
Declaration of the base generator class for all generators.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
Abstract superclass for simulation objects.
The strided generator generates sequential requests from a start to an end address,...
Addr dataManipulated
Counter to determine the amount of data manipulated.
StridedGen(SimObject &obj, RequestorID requestor_id, Tick _duration, Addr start_addr, Addr end_addr, Addr _blocksize, Addr cacheline_size, Addr stride_size, int gen_id, Tick min_period, Tick max_period, uint8_t read_percent, Addr data_limit)
Create a strided address sequence generator.
PacketPtr getNextPacket()
Get the next generated packet.
Addr nextAddr
Address of next request.
Tick nextPacketTick(bool elastic, Tick delay) const
Determine the tick when the next packet is available.
void enter()
Enter this generator state.
int genID
This param is used to indicate the order of a traffic generator among a set of traffic generators,...
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
uint64_t Tick
Tick count type.
Declaration of the Packet class.