gem5
|
#include <func_unit.hh>
Public Member Functions | |
FuncUnit () | |
FuncUnit (const FuncUnit &fu) | |
void | addCapability (OpClass cap, unsigned oplat, bool pipelined) |
bool | provides (OpClass capability) |
std::bitset< Num_OpClasses > | capabilities () |
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_OpClasses > | pipelined |
std::bitset< Num_OpClasses > | capabilityList |
Definition at line 85 of file func_unit.hh.
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.
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().
|
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().
|
private |
Definition at line 88 of file func_unit.hh.
Referenced by FuncUnit().
|
private |
Definition at line 89 of file func_unit.hh.
Referenced by FuncUnit().