gem5  v20.1.0.0
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
MemInterface::Bank Class Reference

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
 

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 82 of file mem_interface.hh.

Constructor & Destructor Documentation

◆ Bank()

MemInterface::Bank::Bank ( )
inline

Definition at line 100 of file mem_interface.hh.

Member Data Documentation

◆ actAllowedAt

Tick MemInterface::Bank::actAllowedAt

◆ bank

uint8_t MemInterface::Bank::bank

◆ bankgr

uint8_t MemInterface::Bank::bankgr

Definition at line 90 of file mem_interface.hh.

Referenced by DRAMInterface::activateBank(), and DRAMInterface::doBurstAccess().

◆ bytesAccessed

uint32_t MemInterface::Bank::bytesAccessed

◆ NO_ROW

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

◆ openRow

uint32_t MemInterface::Bank::openRow

◆ preAllowedAt

Tick MemInterface::Bank::preAllowedAt

◆ rdAllowedAt

Tick MemInterface::Bank::rdAllowedAt

◆ rowAccesses

uint32_t MemInterface::Bank::rowAccesses

Definition at line 97 of file mem_interface.hh.

Referenced by DRAMInterface::activateBank(), and DRAMInterface::doBurstAccess().

◆ wrAllowedAt

Tick MemInterface::Bank::wrAllowedAt

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

Generated on Wed Sep 30 2020 14:02:27 for gem5 by doxygen 1.8.17