gem5  v21.2.1.1
Public Member Functions | Public Attributes | List of all members
gem5::memory::NVMInterface::Rank Class Reference

NVM rank class simply includes a vector of banks. More...

Inheritance diagram for gem5::memory::NVMInterface::Rank:
gem5::EventManager

Public Member Functions

 Rank (const NVMInterfaceParams &_p, int _rank, NVMInterface &_nvm)
 
- Public Member Functions inherited from gem5::EventManager
EventQueueeventQueue () const
 
void schedule (Event &event, Tick when)
 
void deschedule (Event &event)
 
void reschedule (Event &event, Tick when, bool always=false)
 
void schedule (Event *event, Tick when)
 
void deschedule (Event *event)
 
void reschedule (Event *event, Tick when, bool always=false)
 
void wakeupEventQueue (Tick when=(Tick) -1)
 This function is not needed by the usual gem5 event loop but may be necessary in derived EventQueues which host gem5 on other schedulers. More...
 
void setCurTick (Tick newVal)
 
 EventManager (EventManager &em)
 Event manger manages events in the event queue. More...
 
 EventManager (EventManager *em)
 
 EventManager (EventQueue *eq)
 

Public Attributes

uint8_t rank
 Current Rank index. More...
 
std::vector< Bankbanks
 Vector of NVM banks. More...
 

Additional Inherited Members

- Protected Attributes inherited from gem5::EventManager
EventQueueeventq
 A pointer to this object's event queue. More...
 

Detailed Description

NVM rank class simply includes a vector of banks.

Definition at line 1034 of file mem_interface.hh.

Constructor & Destructor Documentation

◆ Rank()

gem5::memory::NVMInterface::Rank::Rank ( const NVMInterfaceParams &  _p,
int  _rank,
NVMInterface _nvm 
)

Definition at line 2080 of file mem_interface.cc.

References gem5::ArmISA::b, and banks.

Member Data Documentation

◆ banks

std::vector<Bank> gem5::memory::NVMInterface::Rank::banks

Vector of NVM banks.

Each rank is made of several banks that can be accessed in parallel.

Definition at line 1047 of file mem_interface.hh.

Referenced by Rank().

◆ rank

uint8_t gem5::memory::NVMInterface::Rank::rank

Current Rank index.

Definition at line 1041 of file mem_interface.hh.


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

Generated on Wed May 4 2022 12:15:44 for gem5 by doxygen 1.8.17