gem5  v19.0.0.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
DRAMCtrl::Bank Class Reference

A basic class to track the bank state, i.e. More...

Public Member Functions

 Bank ()
 

Public Attributes

uint32_t openRow
 
uint8_t bank
 
uint8_t bankgr
 
Tick rdAllowedAt
 
Tick wrAllowedAt
 
Tick preAllowedAt
 
Tick actAllowedAt
 
uint32_t rowAccesses
 
uint32_t bytesAccessed
 

Static Public Attributes

static const uint32_t NO_ROW = -1
 

Detailed Description

A basic class to track the bank state, i.e.

what row is currently open (if any), when is the bank free to accept a new column (read/write) command, when can it be precharged, and when can it be activated.

The bank also keeps track of how many bytes have been accessed in the open row since it was opened.

Definition at line 170 of file dram_ctrl.hh.

Constructor & Destructor Documentation

◆ Bank()

DRAMCtrl::Bank::Bank ( )
inline

Definition at line 189 of file dram_ctrl.hh.

Member Data Documentation

◆ actAllowedAt

Tick DRAMCtrl::Bank::actAllowedAt

Definition at line 184 of file dram_ctrl.hh.

Referenced by DRAMCtrl::doDRAMAccess(), and DRAMCtrl::prechargeBank().

◆ bank

uint8_t DRAMCtrl::Bank::bank

◆ bankgr

uint8_t DRAMCtrl::Bank::bankgr

Definition at line 179 of file dram_ctrl.hh.

Referenced by DRAMCtrl::activateBank(), and DRAMCtrl::doDRAMAccess().

◆ bytesAccessed

uint32_t DRAMCtrl::Bank::bytesAccessed

◆ NO_ROW

const uint32_t DRAMCtrl::Bank::NO_ROW = -1
static

◆ openRow

uint32_t DRAMCtrl::Bank::openRow

◆ preAllowedAt

Tick DRAMCtrl::Bank::preAllowedAt

◆ rdAllowedAt

Tick DRAMCtrl::Bank::rdAllowedAt

◆ rowAccesses

uint32_t DRAMCtrl::Bank::rowAccesses

Definition at line 186 of file dram_ctrl.hh.

Referenced by DRAMCtrl::activateBank(), and DRAMCtrl::doDRAMAccess().

◆ wrAllowedAt

Tick DRAMCtrl::Bank::wrAllowedAt

The documentation for this class was generated from the following file:

Generated on Fri Feb 28 2020 16:27:10 for gem5 by doxygen 1.8.13