gem5
v20.1.0.0
|
A basic class to track the bank state, i.e. More...
#include <mem_interface.hh>
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 |
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 82 of file mem_interface.hh.
|
inline |
Definition at line 100 of file mem_interface.hh.
Tick MemInterface::Bank::actAllowedAt |
Definition at line 95 of file mem_interface.hh.
Referenced by NVMInterface::chooseRead(), DRAMInterface::doBurstAccess(), NVMInterface::doBurstAccess(), and DRAMInterface::prechargeBank().
uint8_t MemInterface::Bank::bank |
Definition at line 89 of file mem_interface.hh.
Referenced by DRAMInterface::activateBank(), NVMInterface::chooseRead(), NVMInterface::doBurstAccess(), and DRAMInterface::prechargeBank().
uint8_t MemInterface::Bank::bankgr |
Definition at line 90 of file mem_interface.hh.
Referenced by DRAMInterface::activateBank(), and DRAMInterface::doBurstAccess().
uint32_t MemInterface::Bank::bytesAccessed |
Definition at line 98 of file mem_interface.hh.
Referenced by DRAMInterface::activateBank(), NVMInterface::chooseRead(), DRAMInterface::doBurstAccess(), NVMInterface::doBurstAccess(), and DRAMInterface::prechargeBank().
|
static |
Definition at line 86 of file mem_interface.hh.
Referenced by DRAMInterface::activateBank(), MemInterface::decodePacket(), DRAMInterface::doBurstAccess(), DRAMInterface::minBankPrep(), DRAMInterface::prechargeBank(), and DRAMInterface::Rank::processRefreshEvent().
uint32_t MemInterface::Bank::openRow |
Definition at line 88 of file mem_interface.hh.
Referenced by DRAMInterface::activateBank(), DRAMInterface::chooseNextFRFCFS(), NVMInterface::chooseRead(), DRAMInterface::doBurstAccess(), NVMInterface::doBurstAccess(), and DRAMInterface::prechargeBank().
Tick MemInterface::Bank::preAllowedAt |
Definition at line 94 of file mem_interface.hh.
Referenced by DRAMInterface::activateBank(), DRAMInterface::doBurstAccess(), and DRAMInterface::prechargeBank().
Tick MemInterface::Bank::rdAllowedAt |
Definition at line 92 of file mem_interface.hh.
Referenced by DRAMInterface::activateBank(), DRAMInterface::chooseNextFRFCFS(), NVMInterface::chooseNextFRFCFS(), DRAMInterface::doBurstAccess(), and NVMInterface::doBurstAccess().
uint32_t MemInterface::Bank::rowAccesses |
Definition at line 97 of file mem_interface.hh.
Referenced by DRAMInterface::activateBank(), and DRAMInterface::doBurstAccess().
Tick MemInterface::Bank::wrAllowedAt |
Definition at line 93 of file mem_interface.hh.
Referenced by DRAMInterface::activateBank(), DRAMInterface::chooseNextFRFCFS(), NVMInterface::chooseNextFRFCFS(), DRAMInterface::doBurstAccess(), and NVMInterface::doBurstAccess().