OpenASIP 2.2
Loading...
Searching...
No Matches
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.
 
FSAFUResourceConflictDetectorPimploperator= (const FSAFUResourceConflictDetectorPimpl &)
 Assignment not allowed.
 

Private Attributes

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

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}
const std::string fuName_
The name of the FU that is being simulated (for debugging).
const FiniteStateAutomaton::FSAStateTransitionIndex NOP
The transition index of a NOP operation.
FiniteStateAutomaton::FSAStateIndex currentState_
Current state of the FSA.
bool operationIssued_
True if operation was issued at the current cycle.
virtual FSAStateTransitionIndex transitionIndex(const std::string &transitionName) const
virtual FSAStateIndex startState() const
virtual TCEString name() const

◆ 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 Symbol 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: