44 #ifndef __CPU_TRAFFIC_GEN_DRAM_ROT_GEN_HH__ 45 #define __CPU_TRAFFIC_GEN_DRAM_ROT_GEN_HH__ 50 #include "enums/AddrMap.hh" 87 Addr _blocksize,
Addr cacheline_size,
89 uint8_t read_percent,
Addr data_limit,
90 unsigned int num_seq_pkts,
unsigned int page_size,
91 unsigned int nbr_of_banks_DRAM,
unsigned int nbr_of_banks_util,
92 Enums::AddrMap addr_mapping,
93 unsigned int nbr_of_ranks,
94 unsigned int max_seq_count_per_rank)
95 :
DramGen(obj, master_id, _duration, start_addr, end_addr,
96 _blocksize, cacheline_size, min_period, max_period,
97 read_percent, data_limit,
98 num_seq_pkts, page_size, nbr_of_banks_DRAM,
99 nbr_of_banks_util, addr_mapping,
107 fatal(
"%s: Unsupported read percentage for DramRotGen: %d",
#define fatal(...)
This implements a cprintf based fatal() function.
DramRotGen(SimObject &obj, MasterID master_id, Tick _duration, Addr start_addr, Addr end_addr, Addr _blocksize, Addr cacheline_size, Tick min_period, Tick max_period, uint8_t read_percent, Addr data_limit, unsigned int num_seq_pkts, unsigned int page_size, unsigned int nbr_of_banks_DRAM, unsigned int nbr_of_banks_util, Enums::AddrMap addr_mapping, unsigned int nbr_of_ranks, unsigned int max_seq_count_per_rank)
Create a DRAM address sequence generator.
unsigned int nextSeqCount
Next packet series count used to set rank and bank, and update isRead Incremented at the start of a n...
PacketPtr getNextPacket()
Get the next generated packet.
uint64_t Tick
Tick count type.
const uint8_t readPercent
Percent of generated transactions that should be reads.
DRAM specific generator is for issuing request with variable page hit length and bank utilization...
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...
Declaration of the DRAM generator for issuing variable page hit length requests and bank utilisation...
Declaration of the Packet class.
const unsigned int maxSeqCountPerRank
Number of command series issued before the rank is changed.
Abstract superclass for simulation objects.
const std::string _name
Name to use for status and debug printing.