Go to the documentation of this file.
34 #ifndef TTA_MACHINE_STATE_HH
35 #define TTA_MACHINE_STATE_HH
82 const std::string& portName,
83 const std::string& fuName);
93 const std::string& name,
94 const std::string& fuName);
97 const std::string& name);
100 const std::string& name);
121 typedef std::map<std::string, LongImmediateUnitState*>
LongImmediateUnitState & longImmediateUnitState(const std::string &name)
std::map< std::string, FUState * > FUContainer
Contains function unit states indexed by names.
void addOperationExecutor(OperationExecutor *executor)
PortState & portState(const std::string &portName, const std::string &fuName)
std::map< std::string, LongImmediateUnitState * > LongImmediateContainer
Contains long immediate unit states indexed by names.
std::map< std::string, RegisterFileState * > RegisterFileContainer
Contains register file states indexed by names.
std::vector< RegisterFileState * > RegisterFileCache
void advanceClockOfAllLongImmediateUnitStates()
RegisterFileCache rfCache_
void setFinished(bool finished=true)
void endClockOfAllFUStates()
void advanceClockOfAllFUStates()
void addPortState(PortState *state, const std::string &name, const std::string &fuName)
GuardState & guardState(const TTAMachine::Guard &guard)
BusState & busState(const std::string &name)
FUContainer FUStates_
Container of function unit states for fast traversal.
void addGCUState(GCUState *state)
LongImmediateUnitCache longImmediateCache_
std::vector< LongImmediateUnitState * > LongImmediateUnitCache
std::map< std::string, BusState * > BusContainer
Contains bus states indexed by names.
std::map< const TTAMachine::Guard *, GuardState * > GuardContainer
Contains guard states indexed by their MOM object.
void addLongImmediateUnitState(LongImmediateUnitState *state, const std::string &name)
void addGuardState(GuardState *state, const TTAMachine::Guard &guard)
std::vector< OperationExecutor * > ExecutorContainer
Contains operation executors.
void addRegisterFileState(RegisterFileState *state, const std::string &name)
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.
PortContainer ports_
Contains all port states.
std::size_t fuStateCount_
Count of FUStates added in MachineState (optimization).
FUState & fuState(const std::string &name)
RegisterFileContainer registers_
Contains all register file states.
std::vector< GuardState * > GuardCache
std::vector< FUState * > FUCache
void addBusState(BusState *state, const std::string &name)
void advanceClockOfAllGuardStates()
MachineState & operator=(const MachineState &)
Assignment not allowed.
std::vector< PortState * > PortCache
BusContainer busses_
Contains all bus states.
GuardContainer guards_
Contains all guard states.
std::vector< BusState * > BusCache
std::map< std::string, PortState * > PortContainer
Contains port states indexed by names.
RegisterFileState & registerFileState(const std::string &name)