gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
WaitClass Class Reference

#include <misc.hh>

Public Member Functions

 WaitClass ()
 
 WaitClass (ClockedObject *_clockedObject, uint64_t _numStages=0)
 
void init (ClockedObject *_clockedObject, uint64_t _numStages=0)
 
void set (uint64_t i)
 
void preset (uint64_t delay)
 
bool rdy (Cycles cycles=Cycles(0)) const
 
bool prerdy () const
 

Private Attributes

uint64_t nxtAvail
 
uint64_t lookAheadAvail
 
ClockedObjectclockedObject
 
uint64_t numStages
 

Detailed Description

Definition at line 64 of file misc.hh.

Constructor & Destructor Documentation

◆ WaitClass() [1/2]

WaitClass::WaitClass ( )
inline

Definition at line 67 of file misc.hh.

◆ WaitClass() [2/2]

WaitClass::WaitClass ( ClockedObject _clockedObject,
uint64_t  _numStages = 0 
)
inline

Definition at line 69 of file misc.hh.

Member Function Documentation

◆ init()

void WaitClass::init ( ClockedObject _clockedObject,
uint64_t  _numStages = 0 
)
inline

Definition at line 73 of file misc.hh.

References clockedObject, and numStages.

Referenced by ComputeUnit::init().

◆ prerdy()

bool WaitClass::prerdy ( ) const
inline

Definition at line 94 of file misc.hh.

References Clocked::clockEdge(), clockedObject, and lookAheadAvail.

◆ preset()

void WaitClass::preset ( uint64_t  delay)
inline

Definition at line 85 of file misc.hh.

References Clocked::clockEdge(), clockedObject, lookAheadAvail, and numStages.

◆ rdy()

bool WaitClass::rdy ( Cycles  cycles = Cycles(0)) const
inline

◆ set()

void WaitClass::set ( uint64_t  i)
inline

Member Data Documentation

◆ clockedObject

ClockedObject* WaitClass::clockedObject
private

Definition at line 107 of file misc.hh.

Referenced by init(), prerdy(), preset(), rdy(), and set().

◆ lookAheadAvail

uint64_t WaitClass::lookAheadAvail
private

Definition at line 105 of file misc.hh.

Referenced by prerdy(), and preset().

◆ numStages

uint64_t WaitClass::numStages
private

Definition at line 110 of file misc.hh.

Referenced by init(), and preset().

◆ nxtAvail

uint64_t WaitClass::nxtAvail
private

Definition at line 101 of file misc.hh.

Referenced by rdy(), and set().


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

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