gem5  v21.1.0.2
Classes | Public Member Functions | Protected Attributes | Private Attributes | List of all members
gem5::FetchStage Class Reference

#include <fetch_stage.hh>

Classes

struct  FetchStageStats
 

Public Member Functions

 FetchStage (const ComputeUnitParams &p, ComputeUnit &cu)
 
 ~FetchStage ()
 
void init ()
 
void exec ()
 
void processFetchReturn (PacketPtr pkt)
 
void fetch (PacketPtr pkt, Wavefront *wave)
 
const std::string & name () const
 
FetchUnitfetchUnit (int simdId)
 

Protected Attributes

gem5::FetchStage::FetchStageStats stats
 

Private Attributes

int numVectorALUs
 
ComputeUnitcomputeUnit
 
std::vector< FetchUnit_fetchUnit
 
const std::string _name
 

Detailed Description

Definition at line 56 of file fetch_stage.hh.

Constructor & Destructor Documentation

◆ FetchStage()

gem5::FetchStage::FetchStage ( const ComputeUnitParams &  p,
ComputeUnit cu 
)

Definition at line 42 of file fetch_stage.cc.

References _fetchUnit, gem5::ArmISA::j, numVectorALUs, and gem5::MipsISA::p.

◆ ~FetchStage()

gem5::FetchStage::~FetchStage ( )

Definition at line 52 of file fetch_stage.cc.

References _fetchUnit.

Member Function Documentation

◆ exec()

void gem5::FetchStage::exec ( )

Definition at line 67 of file fetch_stage.cc.

References _fetchUnit, gem5::ArmISA::j, and numVectorALUs.

Referenced by gem5::ComputeUnit::exec().

◆ fetch()

void gem5::FetchStage::fetch ( PacketPtr  pkt,
Wavefront wave 
)

Definition at line 91 of file fetch_stage.cc.

References _fetchUnit, and gem5::Wavefront::simdId.

◆ fetchUnit()

FetchUnit& gem5::FetchStage::fetchUnit ( int  simdId)
inline

◆ init()

void gem5::FetchStage::init ( )

◆ name()

const std::string& gem5::FetchStage::name ( ) const
inline

Definition at line 67 of file fetch_stage.hh.

References _name.

◆ processFetchReturn()

void gem5::FetchStage::processFetchReturn ( PacketPtr  pkt)

Member Data Documentation

◆ _fetchUnit

std::vector<FetchUnit> gem5::FetchStage::_fetchUnit
private

Definition at line 76 of file fetch_stage.hh.

Referenced by exec(), fetch(), FetchStage(), fetchUnit(), init(), processFetchReturn(), and ~FetchStage().

◆ _name

const std::string gem5::FetchStage::_name
private

Definition at line 77 of file fetch_stage.hh.

Referenced by name().

◆ computeUnit

ComputeUnit& gem5::FetchStage::computeUnit
private

Definition at line 72 of file fetch_stage.hh.

Referenced by init().

◆ numVectorALUs

int gem5::FetchStage::numVectorALUs
private

Definition at line 71 of file fetch_stage.hh.

Referenced by exec(), FetchStage(), and init().

◆ stats

gem5::FetchStage::FetchStageStats gem5::FetchStage::stats
protected

Referenced by processFetchReturn().


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

Generated on Tue Sep 21 2021 12:27:35 for gem5 by doxygen 1.8.17