Go to the documentation of this file.
62 GCUState_(NULL), fuStateCount_(0), finished_(
false) {
117 BusContainer::iterator iter =
busses_.find(name);
121 return *((*iter).second);
134 FUContainer::iterator iter =
FUStates_.find(name);
138 return *((*iter).second);
151 if (index < 0 || (index > count - 1)) {
152 string msg =
"FUState index out of range";
157 FUContainer::iterator iter =
FUStates_.begin();
162 return *((*iter).second);
176 const std::string& portName,
177 const std::string& fuName) {
179 PortContainer::iterator i =
201 return *((*iter).second);
214 RegisterFileContainer::iterator iter =
registers_.find(name);
218 return *((*iter).second);
231 GuardContainer::iterator iter =
guards_.find(&guard);
235 return *((*iter).second);
282 const std::string& name,
283 const std::string& fuName) {
297 const std::string& name) {
312 const std::string& name) {
LongImmediateUnitState & longImmediateUnitState(const std::string &name)
void addOperationExecutor(OperationExecutor *executor)
PortState & portState(const std::string &portName, const std::string &fuName)
static NullPortState & instance()
RegisterFileCache rfCache_
void addPortState(PortState *state, const std::string &name, const std::string &fuName)
GuardState & guardState(const TTAMachine::Guard &guard)
static NullGuardState & instance()
BusState & busState(const std::string &name)
static NullFUState & instance()
FUContainer FUStates_
Container of function unit states for fast traversal.
void addGCUState(GCUState *state)
LongImmediateUnitCache longImmediateCache_
static NullRegisterFileState & instance()
void addLongImmediateUnitState(LongImmediateUnitState *state, const std::string &name)
void addGuardState(GuardState *state, const TTAMachine::Guard &guard)
void addRegisterFileState(RegisterFileState *state, const std::string &name)
static NullBusState & instance()
GCUState * GCUState_
GCU state.
void addFUState(FUState *state, const std::string &name)
LongImmediateContainer longImmediates_
Contains all long immediate unit states.
ExecutorContainer executors_
Contains all operation executors.
find Finds info of the inner loops in the false
PortContainer ports_
Contains all port states.
FUState & fuState(const std::string &name)
RegisterFileContainer registers_
Contains all register file states.
void addBusState(BusState *state, const std::string &name)
BusContainer busses_
Contains all bus states.
GuardContainer guards_
Contains all guard states.
RegisterFileState & registerFileState(const std::string &name)