gem5
|
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 | colAllowedAt |
Tick | preAllowedAt |
Tick | actAllowedAt |
uint32_t | rowAccesses |
uint32_t | bytesAccessed |
Static Public Attributes | |
static const uint32_t | NO_ROW = -1 |
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 180 of file dram_ctrl.hh.
|
inline |
Definition at line 198 of file dram_ctrl.hh.
Tick DRAMCtrl::Bank::actAllowedAt |
Definition at line 193 of file dram_ctrl.hh.
Referenced by DRAMCtrl::doDRAMAccess(), and DRAMCtrl::prechargeBank().
uint8_t DRAMCtrl::Bank::bank |
Definition at line 188 of file dram_ctrl.hh.
Referenced by DRAMCtrl::activateBank(), and DRAMCtrl::prechargeBank().
uint8_t DRAMCtrl::Bank::bankgr |
Definition at line 189 of file dram_ctrl.hh.
Referenced by DRAMCtrl::activateBank(), and DRAMCtrl::doDRAMAccess().
uint32_t DRAMCtrl::Bank::bytesAccessed |
Definition at line 196 of file dram_ctrl.hh.
Referenced by DRAMCtrl::activateBank(), DRAMCtrl::doDRAMAccess(), and DRAMCtrl::prechargeBank().
Tick DRAMCtrl::Bank::colAllowedAt |
Definition at line 191 of file dram_ctrl.hh.
Referenced by DRAMCtrl::activateBank(), DRAMCtrl::doDRAMAccess(), and DRAMCtrl::reorderQueue().
|
static |
Definition at line 185 of file dram_ctrl.hh.
Referenced by DRAMCtrl::activateBank(), DRAMCtrl::decodeAddr(), DRAMCtrl::doDRAMAccess(), DRAMCtrl::minBankPrep(), DRAMCtrl::prechargeBank(), and DRAMCtrl::Rank::processRefreshEvent().
uint32_t DRAMCtrl::Bank::openRow |
Definition at line 187 of file dram_ctrl.hh.
Referenced by DRAMCtrl::activateBank(), DRAMCtrl::doDRAMAccess(), DRAMCtrl::prechargeBank(), and DRAMCtrl::reorderQueue().
Tick DRAMCtrl::Bank::preAllowedAt |
Definition at line 192 of file dram_ctrl.hh.
Referenced by DRAMCtrl::activateBank(), DRAMCtrl::doDRAMAccess(), and DRAMCtrl::prechargeBank().
uint32_t DRAMCtrl::Bank::rowAccesses |
Definition at line 195 of file dram_ctrl.hh.
Referenced by DRAMCtrl::activateBank(), and DRAMCtrl::doDRAMAccess().