gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Attributes | List of all members
FuncUnit Class Reference

#include <func_unit.hh>

Inheritance diagram for FuncUnit:
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_OpClasses
opLatencies
 
std::array< bool, Num_OpClassespipelined
 
std::bitset< Num_OpClassescapabilityList
 

Detailed Description

Definition at line 85 of file func_unit.hh.

Constructor & Destructor Documentation

FuncUnit::FuncUnit ( )

Definition at line 44 of file func_unit.cc.

FuncUnit::FuncUnit ( const FuncUnit fu)

Definition at line 53 of file func_unit.cc.

References capabilityList, ArmISA::i, Num_OpClasses, opLatencies, and pipelined.

Member Function Documentation

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

Definition at line 66 of file func_unit.cc.

References panic.

Referenced by Minor::FUPipeline::FUPipeline(), and FUPool::FUPool().

bitset< Num_OpClasses > FuncUnit::capabilities ( )

Definition at line 84 of file func_unit.cc.

bool FuncUnit::isPipelined ( OpClass  capability)

Definition at line 96 of file func_unit.cc.

unsigned & FuncUnit::opLatency ( OpClass  capability)

Definition at line 90 of file func_unit.cc.

bool FuncUnit::provides ( OpClass  capability)

Definition at line 78 of file func_unit.cc.

Referenced by Minor::Execute::evaluate(), and Minor::Execute::issue().

Member Data Documentation

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

Definition at line 90 of file func_unit.hh.

Referenced by FuncUnit().

std::string FuncUnit::name

Definition at line 96 of file func_unit.hh.

Referenced by FUPool::FUPool().

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

Definition at line 88 of file func_unit.hh.

Referenced by FuncUnit().

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

Definition at line 89 of file func_unit.hh.

Referenced by FuncUnit().


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

Generated on Fri Jun 9 2017 13:04:10 for gem5 by doxygen 1.8.6