33#ifndef CONFLICT_DETECTION_CODE_GENERATOR_HH
34#define CONFLICT_DETECTION_CODE_GENERATOR_HH
TTAMachine::Machine * machine
the architecture definition of the estimated processor
std::string conflictDetectorType_
The FU resource conflict detector used, empty string if disabled.
std::string extraInitialization()
const TTAMachine::Machine & machine_
The machine.
std::string symbolDeclaration(const TTAMachine::FunctionUnit &fu)
std::string updateSymbolDeclarations()
ConflictDetectionCodeGenerator(const ConflictDetectionCodeGenerator &)
Copying not allowed.
std::string conflictDetectorMethod_
The method in the resource conflict detector used to detect conflicts, empty string if disabled.
std::string notifyOfConflicts()
bool conflictDetectionEnabled() const
std::string conflictDetectorAdvanceCycle_
The method to be called on the conflict detector on cycle advance.
ConflictDetectorObjectNameMap conflictDetectors_
The resource conflict detector object name for each FU if any.
virtual ~ConflictDetectionCodeGenerator()
std::map< std::string, std::string > ConflictDetectorObjectNameMap
1=fu.name(), 2=conflict detector object name
ConflictDetectionCodeGenerator & operator=(const ConflictDetectionCodeGenerator &)
Assignment not allowed.
std::string advanceClockCode()
std::string detectConflicts(const TTAMachine::HWOperation &op)
std::string conflictDetectorExtraInitMethod_
A method to be called on the conflict detector for initialization, empty if none.
const CompiledSimSymbolGenerator & symbolGen_
Symbol generator.
bool conflictDetectionEnabled_
True, if the conflict detection is enabled.