gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::memory::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 86 of file mem_interface.hh.

Constructor & Destructor Documentation

◆ Bank()

gem5::memory::MemInterface::Bank::Bank ( )
inline

Member Data Documentation

◆ actAllowedAt

◆ bank

◆ bankgr

uint8_t gem5::memory::MemInterface::Bank::bankgr

◆ bytesAccessed

◆ NO_ROW

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

Definition at line 90 of file mem_interface.hh.

Referenced by Bank().

◆ openRow

◆ preAllowedAt

◆ rdAllowedAt

◆ rowAccesses

uint32_t gem5::memory::MemInterface::Bank::rowAccesses

◆ wrAllowedAt


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

Generated on Sat Oct 18 2025 08:06:59 for gem5 by doxygen 1.14.0