gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
void setCurTick (Tick newVal)
 
 EventManager (EventManager &em)
 Event manger manages events in the event queue.
 
 EventManager (EventManager *em)
 
 EventManager (EventQueue *eq)
 

Public Attributes

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

Additional Inherited Members

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

Detailed Description

NVM rank class simply includes a vector of banks.

Definition at line 70 of file nvm_interface.hh.

Constructor & Destructor Documentation

◆ Rank()

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

Definition at line 93 of file nvm_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 83 of file nvm_interface.hh.

Referenced by Rank().

◆ rank

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

Current Rank index.

Definition at line 77 of file nvm_interface.hh.


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

Generated on Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0