OpenASIP
2.0
|
#include <ProjectFileGenerator.hh>
Public Member Functions | |
ProjectFileGenerator (TCEString coreEntity, const PlatformIntegrator *integrator) | |
virtual | ~ProjectFileGenerator () |
virtual void | writeProjectFiles ()=0 |
void | addHdlFile (const TCEString &file) |
void | addHdlFiles (const std::vector< TCEString > &files) |
void | addMemInitFile (const TCEString &memInit) |
void | addSignalMapping (const PlatInt::SignalMapping &mapping) |
Protected Member Functions | |
const std::vector< TCEString > & | hdlFileList () const |
const std::vector< TCEString > & | memInitFileList () const |
const PlatformIntegrator * | integrator () const |
TCEString | coreEntity () const |
TCEString | toplevelEntity () const |
int | signalMappingCount () const |
const PlatInt::SignalMapping * | signalMapping (int index) const |
TCEString | extractFUName (const TCEString &port, const TCEString &delimiter) const |
Private Attributes | |
TCEString | coreEntity_ |
the HDL entity of the non-integrated TTA core More... | |
const PlatformIntegrator * | integrator_ |
std::vector< TCEString > | hdlFiles_ |
std::vector< TCEString > | memInitFiles_ |
PlatInt::SignalMappingList | signalMap_ |
Definition at line 41 of file ProjectFileGenerator.hh.
ProjectFileGenerator::ProjectFileGenerator | ( | TCEString | coreEntity, |
const PlatformIntegrator * | integrator | ||
) |
Definition at line 40 of file ProjectFileGenerator.cc.
|
virtual |
void ProjectFileGenerator::addHdlFile | ( | const TCEString & | file | ) |
Definition at line 56 of file ProjectFileGenerator.cc.
References hdlFiles_.
Referenced by AlmaIFIntegrator::addAlmaifFiles(), PlatformIntegrator::addProGeFiles(), and PlatformIntegrator::writeNewToplevel().
void ProjectFileGenerator::addHdlFiles | ( | const std::vector< TCEString > & | files | ) |
Definition at line 63 of file ProjectFileGenerator.cc.
References hdlFiles_.
Referenced by PlatformIntegrator::createMemories().
void ProjectFileGenerator::addMemInitFile | ( | const TCEString & | memInit | ) |
Definition at line 72 of file ProjectFileGenerator.cc.
References memInitFiles_.
Referenced by AlteraIntegrator::dmemInstance(), KoskiIntegrator::dmemInstance(), and AlteraIntegrator::imemInstance().
void ProjectFileGenerator::addSignalMapping | ( | const PlatInt::SignalMapping & | mapping | ) |
Definition at line 79 of file ProjectFileGenerator.cc.
References signalMap_.
Referenced by Stratix3DevKitIntegrator::addSignalMapping(), and Stratix2DSPBoardIntegrator::addSignalMapping().
|
inlineprotected |
|
protected |
Definition at line 120 of file ProjectFileGenerator.cc.
References StringTools::trim().
Referenced by SOPCBuilderFileGenerator::handleAvalonSignal().
|
protected |
Definition at line 87 of file ProjectFileGenerator.cc.
References hdlFiles_.
Referenced by SOPCBuilderFileGenerator::writeFileList(), IPXactFileGenerator::writeProjectFiles(), and QuartusProjectGenerator::writeQSFFile().
|
protected |
Definition at line 101 of file ProjectFileGenerator.cc.
References integrator_.
Referenced by IPXactFileGenerator::addAddressSpaces(), IPXactFileGenerator::addBusInterfaces(), SOPCBuilderFileGenerator::countAvalonMMMasters(), SOPCBuilderFileGenerator::createInterfaces(), SOPCBuilderFileGenerator::writeGenerics(), SOPCBuilderFileGenerator::writeModuleProperties(), IPXactFileGenerator::writeProjectFiles(), and QuartusProjectGenerator::writeQSFFile().
|
protected |
Definition at line 94 of file ProjectFileGenerator.cc.
References memInitFiles_.
Referenced by SOPCBuilderFileGenerator::writeFileList(), IPXactFileGenerator::writeProjectFiles(), and QuartusProjectGenerator::writeQSFFile().
|
protected |
Definition at line 113 of file ProjectFileGenerator.cc.
References signalMap_.
Referenced by QuartusProjectGenerator::writeQSFFile().
|
protected |
Definition at line 106 of file ProjectFileGenerator.cc.
References signalMap_.
Referenced by QuartusProjectGenerator::writeQSFFile().
|
inlineprotected |
Definition at line 66 of file ProjectFileGenerator.hh.
References coreEntity_.
Referenced by IPXactFileGenerator::outputFileName(), SOPCBuilderFileGenerator::writeModuleProperties(), IPXactFileGenerator::writeProjectFiles(), SOPCBuilderFileGenerator::writeProjectFiles(), QuartusProjectGenerator::writeQPFFile(), QuartusProjectGenerator::writeQSFFile(), and QuartusProjectGenerator::writeScripts().
|
pure virtual |
Implemented in SOPCBuilderFileGenerator, IPXactFileGenerator, DefaultProjectFileGenerator, and QuartusProjectGenerator.
Referenced by AlteraIntegrator::integrateProcessor(), AlmaIFIntegrator::integrateProcessor(), Stratix3DevKitIntegrator::integrateProcessor(), and Stratix2DSPBoardIntegrator::integrateProcessor().
|
private |
the HDL entity of the non-integrated TTA core
Definition at line 80 of file ProjectFileGenerator.hh.
Referenced by coreEntity(), and toplevelEntity().
|
private |
Definition at line 83 of file ProjectFileGenerator.hh.
Referenced by addHdlFile(), addHdlFiles(), and hdlFileList().
|
private |
Definition at line 81 of file ProjectFileGenerator.hh.
Referenced by integrator().
|
private |
Definition at line 84 of file ProjectFileGenerator.hh.
Referenced by addMemInitFile(), and memInitFileList().
|
private |
Definition at line 85 of file ProjectFileGenerator.hh.
Referenced by addSignalMapping(), signalMapping(), signalMappingCount(), and ~ProjectFileGenerator().