gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::FuncUnit Class Reference

#include <func_unit.hh>

Inheritance diagram for gem5::FuncUnit:
gem5::minor::FUPipeline

Public Member Functions

 FuncUnit ()
 
 FuncUnit (const FuncUnit &fu)
 
void addCapability (OpClass cap, unsigned oplat, bool pipelined)
 
bool provides (OpClass capability)
 
std::bitset< Num_OpClassescapabilities ()
 
unsigned & opLatency (OpClass capability)
 
bool isPipelined (OpClass capability)
 

Public Attributes

std::string name
 

Private Attributes

std::array< unsigned, Num_OpClassesopLatencies
 
std::array< bool, Num_OpClassespipelined
 
std::bitset< Num_OpClassescapabilityList
 

Detailed Description

Definition at line 102 of file func_unit.hh.

Constructor & Destructor Documentation

◆ FuncUnit() [1/2]

gem5::FuncUnit::FuncUnit ( )

Definition at line 42 of file func_unit.cc.

References capabilityList, opLatencies, and pipelined.

◆ FuncUnit() [2/2]

gem5::FuncUnit::FuncUnit ( const FuncUnit & fu)

Member Function Documentation

◆ addCapability()

void gem5::FuncUnit::addCapability ( OpClass cap,
unsigned oplat,
bool pipelined )

Definition at line 64 of file func_unit.cc.

References capabilityList, opLatencies, panic, and pipelined.

Referenced by gem5::minor::FUPipeline::FUPipeline().

◆ capabilities()

std::bitset< Num_OpClasses > gem5::FuncUnit::capabilities ( )

Definition at line 82 of file func_unit.cc.

References capabilityList.

◆ isPipelined()

bool gem5::FuncUnit::isPipelined ( OpClass capability)

Definition at line 94 of file func_unit.cc.

References pipelined.

◆ opLatency()

unsigned & gem5::FuncUnit::opLatency ( OpClass capability)

Definition at line 88 of file func_unit.cc.

References opLatencies.

◆ provides()

bool gem5::FuncUnit::provides ( OpClass capability)

Definition at line 76 of file func_unit.cc.

References capabilityList.

Member Data Documentation

◆ capabilityList

std::bitset<Num_OpClasses> gem5::FuncUnit::capabilityList
private

Definition at line 107 of file func_unit.hh.

Referenced by addCapability(), capabilities(), FuncUnit(), FuncUnit(), and provides().

◆ name

std::string gem5::FuncUnit::name

Definition at line 113 of file func_unit.hh.

Referenced by gem5::o3::FUPool::FUPool().

◆ opLatencies

std::array<unsigned, Num_OpClasses> gem5::FuncUnit::opLatencies
private

Definition at line 105 of file func_unit.hh.

Referenced by addCapability(), FuncUnit(), FuncUnit(), and opLatency().

◆ pipelined

std::array<bool, Num_OpClasses> gem5::FuncUnit::pipelined
private

Definition at line 106 of file func_unit.hh.

Referenced by addCapability(), FuncUnit(), FuncUnit(), and isPipelined().


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