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