Go to the documentation of this file.
87 std::ofstream dot(fileName.c_str());
bool advanceCycleLazyInline()
static const FSAStateIndex ILLEGAL_STATE
A state id which denotes an illegal state.
TransitionMap transitions_
The state transitions. In protected to allow fast access from derived classes.
virtual FSAStateIndex startState() const
virtual const std::string & transitionName(FSAStateTransitionIndex transition) const
FiniteStateAutomaton::FSAStateIndex currentState_
Current state of the FSA.
FSAFUResourceConflictDetector(const TTAMachine::FunctionUnit &fu)
int OperationID
Type for identifying operations in the conflict detector interface.
bool issueOperationInline(OperationID id)
FiniteStateAutomaton::FSAStateIndex resolveState(FiniteStateAutomaton::FSAStateIndex source, FiniteStateAutomaton::FSAStateTransitionIndex transition)
static const FSAStateIndex UNKNOWN_STATE
A state id which denotes an unknown (unresolved) state. Used for lazy construction of states.
FSAFUResourceConflictDetectorPimpl * pimpl_
Private implementation in a separate source file.
bool advanceCycleInline()
const FiniteStateAutomaton::FSAStateTransitionIndex NOP
The transition index of a NOP operation.
virtual void writeToDotFile(const TCEString &fileName) const
virtual std::string toDotString() const
FUFiniteStateAutomaton fsa_
The FSA.
bool issueOperationLazyInline(OperationID id)
virtual bool advanceCycle()
virtual FSAStateTransitionIndex transitionIndex(const std::string &transitionName) const
void initializeAllStates()
const char * operationName(OperationID id) const
virtual OperationID operationID(const TCEString &operationName) const
virtual ~FSAFUResourceConflictDetector()
virtual bool issueOperation(OperationID id)
FiniteStateAutomaton::FSAStateIndex nextState_
The next state of the FSA (move to currentState in cycle advance).