OpenASIP  2.0
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
FSAFUResourceConflictDetectorPimpl Class Reference

#include <FSAFUResourceConflictDetectorPimpl.hh>

Collaboration diagram for FSAFUResourceConflictDetectorPimpl:
Collaboration graph

Public Member Functions

 ~FSAFUResourceConflictDetectorPimpl ()
 

Private Member Functions

 FSAFUResourceConflictDetectorPimpl (const TTAMachine::FunctionUnit &fu)
 
 FSAFUResourceConflictDetectorPimpl (const FSAFUResourceConflictDetectorPimpl &)
 Copying not allowed. More...
 
FSAFUResourceConflictDetectorPimploperator= (const FSAFUResourceConflictDetectorPimpl &)
 Assignment not allowed. More...
 

Private Attributes

FUFiniteStateAutomaton fsa_
 The FSA. More...
 
FiniteStateAutomaton::FSAStateIndex currentState_
 Current state of the FSA. More...
 
FiniteStateAutomaton::FSAStateIndex nextState_
 The next state of the FSA (move to currentState in cycle advance). More...
 
bool operationIssued_
 True if operation was issued at the current cycle. More...
 
const FiniteStateAutomaton::FSAStateTransitionIndex NOP
 The transition index of a NOP operation. More...
 
const std::string fuName_
 The name of the FU that is being simulated (for debugging). More...
 

Friends

class FSAFUResourceConflictDetector
 

Detailed Description

Definition at line 48 of file FSAFUResourceConflictDetectorPimpl.hh.

Constructor & Destructor Documentation

◆ ~FSAFUResourceConflictDetectorPimpl()

FSAFUResourceConflictDetectorPimpl::~FSAFUResourceConflictDetectorPimpl ( )

Definition at line 46 of file FSAFUResourceConflictDetectorPimpl.cc.

46  {
47 }

◆ FSAFUResourceConflictDetectorPimpl() [1/2]

FSAFUResourceConflictDetectorPimpl::FSAFUResourceConflictDetectorPimpl ( const TTAMachine::FunctionUnit fu)
private

Definition at line 37 of file FSAFUResourceConflictDetectorPimpl.cc.

38  :
39  fsa_(fu, true),
41  operationIssued_(false), NOP(fsa_.transitionIndex("[NOP]")),
42  fuName_(fu.name()) {
43 }

◆ FSAFUResourceConflictDetectorPimpl() [2/2]

FSAFUResourceConflictDetectorPimpl::FSAFUResourceConflictDetectorPimpl ( const FSAFUResourceConflictDetectorPimpl )
private

Copying not allowed.

Member Function Documentation

◆ operator=()

FSAFUResourceConflictDetectorPimpl& FSAFUResourceConflictDetectorPimpl::operator= ( const FSAFUResourceConflictDetectorPimpl )
private

Assignment not allowed.

Friends And Related Function Documentation

◆ FSAFUResourceConflictDetector

friend class FSAFUResourceConflictDetector
friend

Definition at line 50 of file FSAFUResourceConflictDetectorPimpl.hh.

Member Data Documentation

◆ currentState_

FiniteStateAutomaton::FSAStateIndex FSAFUResourceConflictDetectorPimpl::currentState_
private

◆ fsa_

FUFiniteStateAutomaton FSAFUResourceConflictDetectorPimpl::fsa_
private

◆ fuName_

const std::string FSAFUResourceConflictDetectorPimpl::fuName_
private

The name of the FU that is being simulated (for debugging).

Definition at line 72 of file FSAFUResourceConflictDetectorPimpl.hh.

◆ nextState_

FiniteStateAutomaton::FSAStateIndex FSAFUResourceConflictDetectorPimpl::nextState_
private

◆ NOP

const FiniteStateAutomaton::FSAStateTransitionIndex FSAFUResourceConflictDetectorPimpl::NOP
private

◆ operationIssued_

bool FSAFUResourceConflictDetectorPimpl::operationIssued_
private

True if operation was issued at the current cycle.

Definition at line 68 of file FSAFUResourceConflictDetectorPimpl.hh.


The documentation for this class was generated from the following files:
FSAFUResourceConflictDetectorPimpl::operationIssued_
bool operationIssued_
True if operation was issued at the current cycle.
Definition: FSAFUResourceConflictDetectorPimpl.hh:68
TTAMachine::Component::name
virtual TCEString name() const
Definition: MachinePart.cc:125
FiniteStateAutomaton::startState
virtual FSAStateIndex startState() const
Definition: FiniteStateAutomaton.cc:282
FSAFUResourceConflictDetectorPimpl::currentState_
FiniteStateAutomaton::FSAStateIndex currentState_
Current state of the FSA.
Definition: FSAFUResourceConflictDetectorPimpl.hh:64
FSAFUResourceConflictDetectorPimpl::NOP
const FiniteStateAutomaton::FSAStateTransitionIndex NOP
The transition index of a NOP operation.
Definition: FSAFUResourceConflictDetectorPimpl.hh:70
FSAFUResourceConflictDetectorPimpl::fsa_
FUFiniteStateAutomaton fsa_
The FSA.
Definition: FSAFUResourceConflictDetectorPimpl.hh:62
FiniteStateAutomaton::transitionIndex
virtual FSAStateTransitionIndex transitionIndex(const std::string &transitionName) const
Definition: FiniteStateAutomaton.cc:120
FSAFUResourceConflictDetectorPimpl::fuName_
const std::string fuName_
The name of the FU that is being simulated (for debugging).
Definition: FSAFUResourceConflictDetectorPimpl.hh:72