gem5 v24.0.0.0
Loading...
Searching...
No Matches
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 54 of file fetch_stage.hh.

Constructor & Destructor Documentation

◆ FetchStage()

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

Definition at line 40 of file fetch_stage.cc.

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

◆ ~FetchStage()

gem5::FetchStage::~FetchStage ( )

Definition at line 50 of file fetch_stage.cc.

References _fetchUnit.

Member Function Documentation

◆ exec()

void gem5::FetchStage::exec ( )

Definition at line 65 of file fetch_stage.cc.

References _fetchUnit, and numVectorALUs.

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

◆ fetch()

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

Definition at line 89 of file fetch_stage.cc.

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

◆ fetchUnit()

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

◆ init()

void gem5::FetchStage::init ( )

Definition at line 56 of file fetch_stage.cc.

References _fetchUnit, computeUnit, numVectorALUs, and gem5::ComputeUnit::wfList.

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

◆ name()

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

Definition at line 65 of file fetch_stage.hh.

References _name.

◆ processFetchReturn()

Member Data Documentation

◆ _fetchUnit

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

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
private

Definition at line 75 of file fetch_stage.hh.

Referenced by name().

◆ computeUnit

ComputeUnit& gem5::FetchStage::computeUnit
private

Definition at line 70 of file fetch_stage.hh.

Referenced by init().

◆ numVectorALUs

int gem5::FetchStage::numVectorALUs
private

Definition at line 69 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 Jun 18 2024 16:24:11 for gem5 by doxygen 1.11.0