gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
NVMInterface::Rank Class Reference

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

Inheritance diagram for NVMInterface::Rank:
EventManager

Public Member Functions

 Rank (const NVMInterfaceParams *_p, int _rank, NVMInterface &_nvm)
 
- Public Member Functions inherited from 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 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 1027 of file mem_interface.hh.

Constructor & Destructor Documentation

◆ Rank()

NVMInterface::Rank::Rank ( const NVMInterfaceParams *  _p,
int  _rank,
NVMInterface _nvm 
)

Definition at line 2044 of file mem_interface.cc.

References ArmISA::b, and banks.

Member Data Documentation

◆ banks

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

Vector of NVM banks.

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

Definition at line 1040 of file mem_interface.hh.

Referenced by Rank().

◆ rank

uint8_t NVMInterface::Rank::rank

Current Rank index.

Definition at line 1034 of file mem_interface.hh.


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

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