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

#include <fetch_stage.hh>


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
std::vector< FetchUnit_fetchUnit
const std::string _name

Detailed Description

Definition at line 54 of file fetch_stage.hh.

Constructor & Destructor Documentation

◆ FetchStage()

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

Definition at line 40 of file

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

◆ ~FetchStage()

gem5::FetchStage::~FetchStage ( )

Definition at line 50 of file

References _fetchUnit.

Member Function Documentation

◆ exec()

void gem5::FetchStage::exec ( )

Definition at line 65 of file

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

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

◆ fetch()

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

Definition at line 89 of file

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

◆ fetchUnit()

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

◆ init()

void gem5::FetchStage::init ( )

◆ name()

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

Definition at line 65 of file fetch_stage.hh.

References _name.

◆ processFetchReturn()

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

Member Data Documentation

◆ _fetchUnit

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

Definition at line 74 of file fetch_stage.hh.

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

◆ _name

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

Definition at line 75 of file fetch_stage.hh.

Referenced by name().

◆ computeUnit

ComputeUnit& gem5::FetchStage::computeUnit

Definition at line 70 of file fetch_stage.hh.

Referenced by init().

◆ numVectorALUs

int gem5::FetchStage::numVectorALUs

Definition at line 69 of file fetch_stage.hh.

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

◆ stats

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

Referenced by processFetchReturn().

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

Generated on Wed Dec 21 2022 10:23:23 for gem5 by doxygen 1.9.1